Features¶
- Feature: Storing repositories
- Background: Given a repository and a repository storage
- Scenario: A new repository can be saved and retrieved
- Scenario: A new repository cannot be saved if invalid
- Scenario: An existing repository cannot be added
- Scenario: An existing repository can be updated
- Scenario: An existing repository cannot be saved if invalid
- Scenario: A non existing repository cannot be updated
- Scenario: An existing repository can be deleted
- Scenario: An non existing repository cannot be deleted
- Scenario: All repositories in same namespace can be retrieved at once
- Scenario: No repositories returned from a namespace without repositories
- Scenario: A repository cannot be added if another exists with same name in same namespace
- Scenario: A repository cannot be updated if another exists with same new name in same namespace
- Scenario: A repository cannot be updated if another exists with same name in new same namespace
- Scenario: A repository can be moved from one namespace to another