mirror of https://gitlab.com/KKlochko/tui-rsync
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
Feature: Creating a backup plan
|
|
|
|
@fixture.injector
|
|
@fixture.in_memory_database
|
|
@fixture.backup_plan_service
|
|
Scenario Outline: Create an new unique backup plan
|
|
Given the label "<label>"
|
|
And the path "<source_path>"
|
|
And the destinations <destinations>
|
|
When I create the backup plan
|
|
Then it should be created successfully
|
|
|
|
Examples:
|
|
| label | source_path | destinations |
|
|
| usb | /mnt/usb | [] |
|
|
| db | /db | ["/backup/db"] |
|
|
| temp | /tmp | ["/backup/tmp1", "/backup/tmp2"] |
|
|
|
|
@fixture.injector
|
|
@fixture.in_memory_database
|
|
@fixture.backup_plan_service
|
|
Scenario Outline: Create an new unique backup plan
|
|
Given the label "<label>"
|
|
And the path "<source_path>"
|
|
And the destinations <destinations>
|
|
When I create the backup plan
|
|
When I delete the backup plan
|
|
Then it should be deleted successfully
|
|
|
|
Examples:
|
|
| label | source_path | destinations |
|
|
| usb | /mnt/usb | [] |
|
|
| db | /db | ["/backup/db"] |
|
|
| temp | /tmp | ["/backup/tmp1", "/backup/tmp2"] |
|
|
|