Add the E2E tests for the CLI interface.

This commit is contained in:
2025-01-23 19:45:14 +02:00
parent 6b247fbe4e
commit 18eb9b4d91
4 changed files with 67 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
Feature: Creating a backup plan with the CLI
@fixture.injector
@fixture.in_memory_database
@fixture.cli
Scenario Outline: Create an new unique backup plan with the CLI
Given the CLI arguments are "<arguments>"
When I run the CLI
Then the CLI executed successfully
Examples:
| arguments |
| plans add --label my_label --source /mnt -d /mnt2 -d /mnt3 |
| plans add --label label2 --source /mnt -d /mnt2 -d /mnt3 |