Skip to content

Commit e4df83c

Browse files
authored
[docs] Fix kuttl file paths in Writing Kuttle Scorecard Tests (#5220)
Signed-off-by: Masato Naka <[email protected]>
1 parent f81ee7e commit e4df83c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

website/content/en/docs/testing-operators/scorecard/kuttl-tests.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ kuttl test image.
1212
Scorecard users can include kuttl tests within their operator
1313
bundles as follows:
1414
```
15-
.
15+
$ tree ./bundle
16+
./bundle
1617
├── manifests
1718
│   ├── cache.example.com_memcacheds_crd.yaml
1819
│   └── memcached-operator.clusterserviceversion.yaml
@@ -33,12 +34,12 @@ bundles as follows:
3334

3435
* `bundle/` - Contains bundle manifests and metadata under test.
3536
* `bundle/tests/scorecard/config.yaml` - Configuration yaml to define and run scorecard tests.
36-
* `tests/kuttl` - Contains tests written for kuttl to execute
37-
* `tests/kuttl/kuttl-test.yaml` - Contains the kuttl configuration, it is here that you would add any kuttl specific configuration settings that you might require.
38-
* `tests/kuttl/list-pods` - Contains a kuttl test case
39-
* `tests/kuttl/list-pods/00-assert.yaml` - Contains a kuttl test case assert
40-
* `tests/kuttl/list-pods/00-pod.yaml` - Contains a kuttl test case step
41-
* `tests/kuttl/list-other` - Contains another kuttl test case
37+
* `bundle/tests/scorecard/kuttl` - Contains tests written for kuttl to execute
38+
* `bundle/tests/scorecard/kuttl/kuttl-test.yaml` - Contains the kuttl configuration, it is here that you would add any kuttl specific configuration settings that you might require.
39+
* `bundle/tests/scorecard/kuttl/list-pods` - Contains a kuttl test case
40+
* `bundle/tests/scorecard/kuttl/list-pods/00-assert.yaml` - Contains a kuttl test case assert
41+
* `bundle/tests/scorecard/kuttl/list-pods/00-pod.yaml` - Contains a kuttl test case step
42+
* `bundle/tests/scorecard/kuttl/list-other` - Contains another kuttl test case
4243

4344
When the scorecard kuttl binary is executed, it will process all the test
4445
cases under the scorecard/kuttl directory within the bundle contents.

0 commit comments

Comments
 (0)