-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
81 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Usecase: Create Reservation | ||
Scenario: A reservation should be created if the reservation is valid | ||
Given a valid reservation | ||
When the reservation is created | ||
Then the reservation is created on the repository | ||
|
||
Scenario: A reservation should not be created if the reservation has an invalid initial date | ||
Given an reservation with an invalid initial date | ||
When the reservation is created | ||
Then the reservation is not created on the repository | ||
|
||
Scenario: A reservation should not be created if the reservation has an invalid final date | ||
Given an reservation with an invalid final date | ||
When the reservation is created | ||
Then the reservation is not created on the repository | ||
|
||
Scenario: A reservation should not be created if the reservation has no customer | ||
Given an reservation with no customer | ||
When the reservation is created | ||
Then the reservation is not created on the repository | ||
|
||
Scenario: A reservation should not be created if the reservation has no room | ||
Given an reservation with no room | ||
When the reservation is created | ||
Then the reservation is not created on the repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Usecase: Create Ticket | ||
Scenario: A ticket should be created if the ticket is valid | ||
Given a valid ticket | ||
When the ticket is created | ||
Then the ticket is created on the repository | ||
|
||
Scenario: A ticket should not be created if the ticket does not have a title | ||
Given a ticket without a title | ||
When the ticket is created | ||
Then the ticket is not created on the repository | ||
|
||
Scenario: A ticket should not be created if the ticket does not have a user | ||
Given a ticket without a user | ||
When the ticket is created | ||
Then the ticket is not created on the repository | ||
|
||
Scenario: A ticket should not be created if the ticket does not have a description | ||
Given a ticket without a description | ||
When the ticket is created | ||
Then the ticket is not created on the repository | ||
|
||
Scenario: A ticket should not be created if the ticket does not have a priority | ||
Given a ticket without a priority | ||
When the ticket is created | ||
Then the ticket is not created on the repository | ||
|
||
Scenario: A ticket should not be created if the ticket does not have a status | ||
Given a ticket without a status | ||
When the ticket is created | ||
Then the ticket is not created on the repository |
20 changes: 20 additions & 0 deletions
20
src/tests/assist/scenarios/Remove All User's Permissions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Usecase: Remove All User's Permissions | ||
Scenario: All user's permissions should be removed if user is active | ||
Given an active user | ||
When all user's permissions are removed | ||
Then all user's permissions are removed on the repository | ||
|
||
Scenario: All user's permissions should not be removed if user is inactive | ||
Given an inactive user | ||
When all user's permissions are removed | ||
Then all user's permissions are not removed on the repository | ||
|
||
Scenario: All user's permissions should not be removed if user has no permissions | ||
Given an active user with no permissions | ||
When all user's permissions are removed | ||
Then all user's permissions are not removed on the repository | ||
|
||
Scenario: All user's permissions should not be removed if user is owner | ||
Given an active user with owner permissions | ||
When all user's permissions are removed | ||
Then all user's permissions are not removed on the repository |
This file was deleted.
Oops, something went wrong.