To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorMove file or directory
As a user of aruba
I want ot move a file or a directory
To setup my tests
- Background
-
- Given
- I use a fixture named "cli-app"
- Scenarios
-
- Move file
-
- Given
-
a file named "features/move.feature" with:
Feature: Move Scenario: Move Given an empty file named "file1.txt" And an empty file named "file2.txt" And an empty file named "file3.txt" When I move a file named "file1.txt" to "new_file1.txt" When I move a file from "file2.txt" to "new_file2.txt" When I move the file "file3.txt" to "new_file3.txt" Then a file named "new_file1.txt" should exist Then a file named "new_file2.txt" should exist Then a file named "new_file3.txt" should exist
- When
-
I run
cucumber
- Then
- the features should all pass
- Move directory
-
- Given
-
a file named "features/move.feature" with:
Feature: Move Scenario: Move Given a directory named "dir1.d" And a directory named "dir2.d" And a directory named "dir3.d" When I move a directory named "dir1.d" to "new_dir1.d" When I move a directory from "dir2.d" to "new_dir2.d" When I move the directory "dir3.d" to "new_dir3.d" Then a directory named "new_dir1.d" should exist Then a directory named "new_dir2.d" should exist Then a directory named "new_dir3.d" should exist
- When
-
I run
cucumber
- Then
- the features should all pass
Last published over 7 years ago by Max Meyer.