-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test (e2e) : Use Scenario outline to test various man pages
Signed-off-by: Rohan Kumar <[email protected]>
- Loading branch information
1 parent
df2b631
commit 6a26a73
Showing
2 changed files
with
55 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,59 @@ | ||
@story_manpages | ||
Feature: Check generation and cleanup of manpages | ||
|
||
@linux @darwin @cleanup | ||
Scenario: verify man pages are generated after crc setup and deleted on cleanup | ||
When executing single crc setup command succeeds | ||
Then accessing crc man pages succeeds | ||
Scenario: Setup CRC Cluster | ||
Given executing single crc setup command succeeds | ||
|
||
When executing crc cleanup command succeeds | ||
Then accessing crc man pages fails | ||
@linux @darwin | ||
Scenario Outline: verify man pages are accessible after setup | ||
Then executing "man -P cat <crc-subcommand>" succeeds | ||
|
||
@linux @darwin | ||
Examples: Man pages to check | ||
| crc-subcommand | | ||
| crc-bundle-generate | | ||
| crc-config | | ||
| crc-start | | ||
| crc-bundle | | ||
| crc-console | | ||
| crc-status | | ||
| crc-cleanup | | ||
| crc-delete | | ||
| crc-stop | | ||
| crc-config-get | | ||
| crc-ip | | ||
| crc-version | | ||
| crc-config-set | | ||
| crc-oc-env | | ||
| crc-config-unset | | ||
| crc-podman-env | | ||
| crc-config-view | | ||
| crc-setup | | ||
|
||
Scenario: Cleanup CRC Cluster | ||
When executing crc cleanup command succeeds | ||
|
||
Scenario Outline: verify man pages are NOT accessible after cleanup | ||
Then executing "man -P cat <crc-subcommand>" fails | ||
|
||
@linux @darwin | ||
Examples: Man pages to check | ||
| crc-subcommand | | ||
| crc-bundle-generate | | ||
| crc-config | | ||
| crc-start | | ||
| crc-bundle | | ||
| crc-console | | ||
| crc-status | | ||
| crc-cleanup | | ||
| crc-delete | | ||
| crc-stop | | ||
| crc-config-get | | ||
| crc-ip | | ||
| crc-version | | ||
| crc-config-set | | ||
| crc-oc-env | | ||
| crc-config-unset | | ||
| crc-podman-env | | ||
| crc-config-view | | ||
| crc-setup | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters