Cucumber

Feature Result for Build: 1.0

Scenarios Steps
Feature Total Passed Failed Total Passed Failed Skipped Pending Duration Status
System: Directory base operations 6 6 0 39 39 0 0 0 15 secs and 647 ms passed
@Test,@System
Feature: System: Directory base operations
URL: https://github.com/mkolisnyk/Sirius/issues/14
Directory operations cover the following actions:
- Check folder presence
- Create directory with or without overwriting
- Copy directory
- Move directory
- Delete directory
Scenario: Directory exists
Given the "./Test" folder doesn't exist
And the "./Test1" folder doesn't exist
When I create the "./Test" folder
And delete the "./Test1" folder
Then I should see the "./Test" folder is available
And the "./Test1" folder is missing
Scenario: Create directory
Given the "./Test" folder doesn't exist
When I create the "./Test" folder
Then I should see the "./Test" folder is available
When I create the "./Test/test1/test2" folder
Then I should see the "./Test/test1/test2" folder is available
Scenario: Create directory (overwrite)
Given the "./Test" folder doesn't exist
When I create the "./Test" folder
Then I should see the "./Test" folder is available
When I create the "./Test/test1/test2" folder
And I create the "./Test/test1" folder (with overwrite)
Then I should see the "./Test/test1" folder is available
And the ".,Test/test1/test2" folder is missing
When I create the "./Test/test1/test2" folder
And I create the "./Test/test1" folder (without overwrite)
Then I should see the "./Test/test1" folder is available
And the "./Test/test1/test2" folder is available
Scenario: Copy directory
Given the "./Test" folder doesn't exist
And the "./Test1" folder doesn't exist
When I create the "./Test/copyTest" folder
And I copy the "./Test" folder to the "./Test1" path
Then I should see the "./Test" folder is available
And the "./Test1/copyTest" folder is available
Scenario: Delete directory
Given the "./Test" folder doesn't exist
When I create the "./Test/Test1/Test2" folder
Then I should see the "./Test/Test1/Test2" folder is available
When I delete the "./Test" folder
Then I should see the "./Test" folder is missing
Scenario: Move directory
Given the "./Test" folder doesn't exist
And the "./Test1" folder doesn't exist
When I create the "./Test/copyTest" folder
And I move the "./Test" folder to the "./Test1" path
Then I should see the "./Test" folder is missing
And the "./Test1/copyTest" folder is available