File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed
cmd/cluster-version-operator-tests Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -4,22 +4,39 @@ It integrates [openshift-tests-extension](https://github.com/openshift-eng/opens
44cluster-version-operator which allows openshift components to contribute tests to openshift-tests' suites with
55extension binaries.
66
7+ ## Build the executable binary
8+ In root folder, run below command to build executable binary:
9+ ``` console
10+ $ make build
11+ ```
712
813## Run the tests locally
914
10- ## Using the framework
15+ ### Using the binary
16+ - run a test-suite
1117``` console
12- $ hack/build-go.sh
13- $ _output/< OS> /< ARCH> /cluster-version-operator-tests run-suite cluster-version-operator
18+ $ _output/< OS> /< ARCH> /cluster-version-operator-tests run-suite < test suite name>
1419```
20+ where test suites can be listed by ` _output/<OS>/<ARCH>/cluster-version-operator-tests info ` .
1521
16- ## Using ginko-cli
22+ - run a single test case
23+ ``` console
24+ $ _output/< OS> /< ARCH> /cluster-version-operator-tests run-test < test case name>
25+ ```
26+ where test names can be listed by ` _output/<OS>/<ARCH>/cluster-version-operator-tests list ` .
27+
28+ ### Using ginkgo-cli
1729
1830After [ installing-ginkgo] ( https://onsi.github.io/ginkgo/#installing-ginkgo ) :
1931
2032``` console
2133$ ginkgo ./test/...
2234```
35+ or run a specific test
36+ ``` console
37+ $ ginkgo --focus " <test case name>" ./test/...
38+ ```
39+ ` test case name ` is the text in g.It()
2340
2441The output looks nicer this way.
2542
You can’t perform that action at this time.
0 commit comments