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 collaboratorCreate new File
As a user of aruba
I want to create files
- Background
-
- Given
- I use a fixture named "cli-app"
- Scenarios
-
- Create empty file
- Create file with content
- Change mode a long with creation of a file with content
- Change mode a long with creation of empty file
- Create a fixed sized file
- Create empty file
-
- Given
-
a file named "features/create_file.feature" with:
Feature: Create file Scenario: Create file Given an empty file named "file1.txt" Then a file named "file1.txt" should exist
- When
-
I run
cucumber
- Then
- the features should all pass
- Create file with content
-
- Given
-
a file named "features/create_file.feature" with:
Feature: Create file Scenario: Create file Given a file named "file1.txt" with: """ Hello World """ Then the file named "file1.txt" should contain: """ Hello World """
- When
-
I run
cucumber
- Then
- the features should all pass
- Change mode a long with creation of a file with content
-
- Given
-
a file named "features/create_file.feature" with:
Feature: Create file Scenario: Create file Given a file named "file1.txt" with mode "0644" and with: """ Hello World """ Then the file named "file1.txt" should have permissions "0644" And the file named "file1.txt" should contain: """ Hello World """
- When
-
I run
cucumber
- Then
- the features should all pass
- Change mode a long with creation of empty file
-
- Given
-
a file named "features/create_file.feature" with:
Feature: Create file Scenario: Create file Given an empty file named "file1.txt" with mode "0644" Then the file named "file1.txt" should have permissions "0644"
- When
-
I run
cucumber
- Then
- the features should all pass
- Create a fixed sized file
-
- Given
-
a file named "features/non-existence.feature" with:
Feature: Create file Scenario: Create file Given a 1048576 byte file named "test.txt" Then a 1048576 byte file named "test.txt" should exist
- When
-
I run
cucumber
- Then
- the features should all pass
Last published almost 6 years ago by philoserf.