Add the response for create command and the test.

This commit is contained in:
2025-01-29 21:14:36 +02:00
parent a16e43462a
commit 1ec7c6464a
2 changed files with 14 additions and 0 deletions
+13
View File
@@ -13,3 +13,16 @@ Feature: Creating a backup plan with the CLI
| plans add --label my_label --source /mnt -d /mnt2 -d /mnt3 |
| plans add --label label2 --source /mnt -d /mnt2 -d /mnt3 |
@fixture.injector
@fixture.in_memory_database
@fixture.cli
Scenario Outline: Response of create an new unique backup plan with the CLI
Given the CLI arguments are "<arguments>"
When I run the CLI
Then the CLI executed with "<result>"
And the CLI output contains "<result_message>"
Examples:
| arguments | result | result_message | description |
| plans add --label my_label --source /mnt -d /mnt2 -d /mnt3 | success | The backup plan is added. | add a plan |