We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ensure_cratedb_layer
1 parent 6870fc5 commit 9c98db5Copy full SHA for 9c98db5
src/crate/client/tests.py
@@ -117,6 +117,19 @@ def setUpMocked(test):
117
118
119
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
+ A blueprint for this kind of logic can be found at
131
+ https://github.com/crate/crate/commit/414cd833.
132
133
global crate_layer
134
135
if crate_layer is None:
0 commit comments