Add scripttest-based integration tests (#59)

- Complete test coverage for all major bd commands:
  blocked, close, create, dep (add/remove/tree), export, help,
  import, init, list, quickstart, ready, show, stats, update, version
- Test data files validate command behavior and output
- Enables automated testing of full CLI workflows
This commit is contained in:
Travis Cline
2025-10-16 17:11:54 -07:00
committed by GitHub
parent 363cd3b4e6
commit b17fcdbb2a
20 changed files with 151 additions and 0 deletions

8
cmd/bd/testdata/import.txt vendored Normal file
View File

@@ -0,0 +1,8 @@
# Test bd import command
bd init --prefix test
bd import -i import.jsonl
bd show test-99
stdout 'Imported issue'
-- import.jsonl --
{"id":"test-99","title":"Imported issue","status":"open","priority":1,"issue_type":"task","created_at":"2025-01-01T00:00:00Z","updated_at":"2025-01-01T00:00:00Z"}