diff options
author | Vitor Mattos <vitor@php.rio> | 2023-04-25 12:32:13 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2023-04-25 12:32:13 -0300 |
commit | a4544b5acbb3533dcf9a8b8288369d1f7486ee7e (patch) | |
tree | 9f33fecb26cfa0955332794e8b592374d95ec046 /tests/integration | |
parent | cb537d68eb218a557ad3599b39ad84c6b5c20d50 (diff) |
Add more test scenario
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/features/command/command-list.feature | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/integration/features/command/command-list.feature b/tests/integration/features/command/command-list.feature index 0aac0cd31..1ce18e2ed 100644 --- a/tests/integration/features/command/command-list.feature +++ b/tests/integration/features/command/command-list.feature @@ -1,10 +1,20 @@ Feature: command/command-list - Scenario: List all available commands as plain text + Scenario: Get the output options + Given invoking occ with "talk:command:list --help" + Then the command was successful + And the command output contains the text "Output format" + + Scenario: List all available commands as plain text (default) Given invoking occ with "talk:command:list" Then the command was successful And the command output contains the text "Response values: 0 - No one" + Scenario: List all available commands as plain text + Given invoking occ with "talk:command:list --output=plain" + Then the command was successful + And the command output contains the text "Response values: 0 - No one" + Scenario: List all available commands as json Given invoking occ with "talk:command:list --output=json" Then the command was successful |