Skip to content

Commit 946876f

Browse files
committed
test: Manually adding test metadata
After adding new OTE test cases, we need to update test metadata
1 parent e35f937 commit 946876f

File tree

2 files changed

+19
-21
lines changed

2 files changed

+19
-21
lines changed

.openshift-tests-extension/openshift_payload_cluster-version-operator.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,20 @@
88
"source": "openshift:payload:cluster-version-operator",
99
"lifecycle": "blocking",
1010
"environmentSelector": {}
11+
},
12+
{
13+
"name": "[Jira:Cluster Version Operator] The cluster version operator should not install resources annotated with release.openshift.io/delete=true",
14+
"labels": {
15+
"42543": {},
16+
"Conformance": {},
17+
"High": {},
18+
"cvo": {}
19+
},
20+
"resources": {
21+
"isolation": {}
22+
},
23+
"source": "openshift:payload:cluster-version-operator",
24+
"lifecycle": "blocking",
25+
"environmentSelector": {}
1126
}
1227
]

cmd/cluster-version-operator-tests/README.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,22 @@ It integrates [openshift-tests-extension](https://github.com/openshift-eng/opens
44
cluster-version-operator which allows openshift components to contribute tests to openshift-tests' suites with
55
extension binaries.
66

7-
## Build the executable binary
8-
In root folder, run below command to build executable binary:
9-
```console
10-
$ make build
11-
```
127

138
## Run the tests locally
149

15-
### Using the binary
16-
- run a test-suite
10+
## Using the framework
1711
```console
18-
$ _output/<OS>/<ARCH>/cluster-version-operator-tests run-suite <test suite name>
12+
$ hack/build-go.sh
13+
$ _output/<OS>/<ARCH>/cluster-version-operator-tests run-suite cluster-version-operator
1914
```
20-
where test suites can be listed by `_output/<OS>/<ARCH>/cluster-version-operator-tests info`.
2115

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 ginko-cli
16+
## Using ginko-cli
2917

3018
After [installing-ginkgo](https://onsi.github.io/ginkgo/#installing-ginkgo):
3119

3220
```console
3321
$ ginkgo ./test/...
3422
```
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()
4023

4124
The output looks nicer this way.
4225

0 commit comments

Comments
 (0)