test(cli): TDD failing tests for session list missing database (bug #680) #702

Merged
brent.edwards merged 1 commit from tdd/session-list-missing-db into master 2026-03-11 23:29:50 +00:00
Member

Summary

  • Adds Behave TDD scenarios (features/tdd_session_list_missing_db.feature) and Robot Framework tests (robot/tdd_session_list_missing_db.robot) that exercise agents session list when no database file exists
  • All scenarios tagged @tdd_expected_fail @tdd_bug @tdd_bug_680
  • Tests currently fail (bug present) but pass CI via the @tdd_expected_fail inversion

TDD Bug-Fix Workflow

Per CONTRIBUTING.md, this TDD test must be merged to master before the bugfix PR can land. The bugfix PR will remove the @tdd_expected_fail tags, turning these into permanent regression tests.

CI Results

  • lint: All checks passed
  • typecheck: 0 errors
  • unit_tests: 10,556 scenarios passed (includes 3 new TDD scenarios)
  • integration_tests: 1,470 tests passed (includes 2 new Robot tests)

Closes #683

## Summary - Adds Behave TDD scenarios (`features/tdd_session_list_missing_db.feature`) and Robot Framework tests (`robot/tdd_session_list_missing_db.robot`) that exercise `agents session list` when **no database file exists** - All scenarios tagged `@tdd_expected_fail @tdd_bug @tdd_bug_680` - Tests currently fail (bug present) but pass CI via the `@tdd_expected_fail` inversion ## TDD Bug-Fix Workflow Per CONTRIBUTING.md, this TDD test must be merged to `master` before the bugfix PR can land. The bugfix PR will remove the `@tdd_expected_fail` tags, turning these into permanent regression tests. ## CI Results - **lint**: All checks passed - **typecheck**: 0 errors - **unit_tests**: 10,556 scenarios passed (includes 3 new TDD scenarios) - **integration_tests**: 1,470 tests passed (includes 2 new Robot tests) Closes #683
test(cli): TDD failing tests for session list missing database (bug #680)
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 15s
CI / build (pull_request) Successful in 15s
CI / quality (pull_request) Successful in 17s
CI / typecheck (pull_request) Successful in 38s
CI / security (pull_request) Successful in 53s
CI / unit_tests (pull_request) Successful in 2m58s
CI / integration_tests (pull_request) Successful in 3m30s
CI / docker (pull_request) Successful in 1m9s
CI / coverage (pull_request) Successful in 5m30s
CI / benchmark-regression (pull_request) Successful in 35m22s
CI / lint (push) Successful in 13s
CI / build (push) Successful in 16s
CI / quality (push) Successful in 21s
CI / security (push) Successful in 35s
CI / typecheck (push) Successful in 48s
CI / benchmark-regression (push) Has been skipped
CI / integration_tests (push) Successful in 3m25s
CI / unit_tests (push) Successful in 3m43s
CI / docker (push) Successful in 10s
CI / coverage (push) Successful in 5m39s
CI / benchmark-publish (push) Successful in 19m41s
b5fc903425
Add Behave and Robot Framework TDD tests that exercise the session list
command when no database file exists.  Tagged @tdd_expected_fail so that
the tests pass CI while the bug is present (the Container has no db
provider, causing AttributeError).  Once the bugfix removes the tag,
these become permanent regression tests.

ISSUES CLOSED: #683
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core!702
No description provided.