Skip to content

Commit bfc41b5

Browse files
committed
Add rationale for ensure_cratedb_layer
1 parent f9c4926 commit bfc41b5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/crate/client/tests.py

+11
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,17 @@ def setUpMocked(test):
117117

118118

119119
def ensure_cratedb_layer():
120+
"""
121+
In order to skip individual tests by manually disabling them within
122+
`def test_suite()`, it is crucial make the test layer not run on each
123+
and every occasion. So, things like this will be possible::
124+
125+
./bin/test -vvvv --ignore_dir=testing
126+
127+
TODO: Through a subsequent patch, the possibility to individually
128+
unselect specific tests might be added to `def test_suite()`
129+
on behalf of environment variables.
130+
"""
120131
global crate_layer
121132

122133
if crate_layer is None:

0 commit comments

Comments
 (0)