Repositories¶
- Namespace
- Features
- Feature: Storing namespaces
- Background: Given a namespace and a namespace storage
- Scenario: A new namespace can be saved and retrieved
- Scenario: A new namespace cannot be saved if invalid
- Scenario: An existing namespace cannot be added
- Scenario: An existing namespace can be updated
- Scenario: An existing namespace cannot be saved if invalid
- Scenario: A non existing namespace cannot be updated
- Scenario: An existing namespace can be deleted
- Scenario: An non existing namespace cannot be deleted
- Scenario: All namespaces in same namespace can be retrieved at once
- Scenario: No namespaces returned from a parent namespace without namespaces
- Scenario: A namespace cannot be added if another exists with same name in same parent namespace
- Scenario: A namespace cannot be added if another exists with same name both without parent namespace
- Scenario: A namespace cannot be updated if another exists with same new name in same parent namespace
- Scenario: A namespace cannot be updated if another exists with same new name both without parent namespace
- Scenario: A namespace cannot be updated if another exists with same name in new same parent namespace
- Scenario: A namespace cannot be updated if another exists with same name now both without namespace
- Scenario: A namespace can be moved from one parent namespace to another
- Scenario: A namespace without parent namespace can be moved to one
- Scenario: A namespace with a parent namespace can have its parent namespace cleared
- Feature: Storing namespaces
- Features
- Repository
- 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
- Feature: Storing repositories
- Features