8ea00f5185
CI / unit_tests (push) Has been cancelled
CI / benchmark-publish (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / security (push) Has been cancelled
CI / quality (push) Has been cancelled
CI / integration_tests (push) Has been cancelled
CI / e2e_tests (push) Has been cancelled
CI / coverage (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
CI / build (push) Has been cancelled
CI / push-validation (push) Has been cancelled
CI / status-check (push) Has been cancelled
CI / docker (push) Has been cancelled
CI / helm (push) Has been cancelled
Co-authored-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Co-committed-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
39 lines
1.8 KiB
Gherkin
39 lines
1.8 KiB
Gherkin
# Regression tests for bug #589 — project create must commit to the database.
|
|
Feature: Project create persists to database
|
|
As a developer using the agents CLI
|
|
I want projects created with "agents project create" to persist in the database
|
|
So that "agents project list" shows previously created projects
|
|
|
|
Background:
|
|
Given a fresh project-persist database is initialised
|
|
|
|
# @tdd_issue @tdd_issue_589 @tdd_expected_fail @tdd_issue_4178 @skip
|
|
@skip
|
|
Scenario: Created project appears in project list
|
|
When I create a project named "local/my-app" via the persist CLI
|
|
And I list projects via the persist CLI
|
|
Then the persist project list should contain "local/my-app"
|
|
|
|
# @tdd_issue @tdd_issue_589 @tdd_expected_fail @tdd_issue_4178 @skip
|
|
@skip
|
|
Scenario: Multiple created projects all appear in list
|
|
When I create a project named "local/alpha" via the persist CLI
|
|
And I create a project named "local/beta" via the persist CLI
|
|
And I list projects via the persist CLI
|
|
Then the persist project list should contain "local/alpha"
|
|
And the persist project list should contain "local/beta"
|
|
|
|
# @tdd_issue @tdd_issue_589 @tdd_expected_fail @tdd_issue_4178 @skip
|
|
@skip
|
|
Scenario: Bare project name uses default namespace and persists
|
|
When I create a project named "my-app" via the persist CLI
|
|
And I list projects via the persist CLI
|
|
Then the persist project list should contain "local/my-app"
|
|
|
|
# @tdd_issue @tdd_issue_589 @tdd_expected_fail @tdd_issue_4178 @skip
|
|
@skip
|
|
Scenario: Creating a duplicate project produces an error
|
|
When I create a project named "local/dup-proj" via the persist CLI
|
|
And I attempt to create a duplicate project named "local/dup-proj" via the persist CLI
|
|
Then the persist duplicate creation should fail with "already exists"
|