You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/README.md
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ make clean # remove the artifacts of the test from the cluster (operator, ODH, p
24
24
*`BUILD_TOOL=docker/podman`: set the tool used to build and run the testing container
25
25
*`SKIP_INSTALL=true/false`: skip the install of the ODH operator, if you've already installed it manually or via a previous test
26
26
*`SKIP_KFDEF_INSTALL=true/false`: skip the install of ODH via KFdef, if you've already installed it manually or via a previous test
27
-
*`TESTS_REGEX=${REGEX}`: only run tests whose names match the regex
27
+
*`PYTEST_MARKERS`: Used to select the tests that will be executed. [Available markers](https://github.com/trustyai-explainability/trustyai-tests/blob/main/pyproject.toml).
28
28
*`LOCAL=true/false`: This flag makes the test suite stop and wait for user input between the end of a test script and cluster teardown. This prevents automatic teardown, which is useful for manual inspection of the cluster before teardown when running the tests locally.
29
29
*`TEARDOWN=true/false`: This flag will just run the corresponding `teardown` functions within the various tests, useful for cleaning up stranded components from failed tests, without deleting the operator and ODH install. It's recommended to use this with a `make run`, as using `make test` will trigger a `make clean` that fully wipes the cluster.
30
30
@@ -47,10 +47,6 @@ If you'd like to run the tests against an instance that already has a KfDef crea
47
47
you set `SKIP_KFDEF_INSTALL=true` and that will cause the test run
48
48
to skip the step of creating the default KfDef. example: `make run SKIP_KFDEF_INSTALL=true`
49
49
50
-
If you'd like to run a single test instead of all tests, you can
51
-
set the TESTS_REGEX variable `TESTS_REGEX=<name of the test to run>`. That will
52
-
only run the test that you specify instead of all of the tests. example: `make run TESTS_REGEX=grafana`
53
-
54
50
If you have a local instance already running the operator and you'd like to skip that part
55
51
of the install process, you can set `SKIP_OPERATOR_INSTALL=true` and that will bypass installation
56
52
of the operator, but will still install the authentication for any user tests.
0 commit comments