beads/cmd/bd/testdata/create_errors.txt
beads/crew/lizzy 10b1af3f9b test: add error case and missing command script tests (dolt-test-evu)
Add 12 new script tests covering error cases for existing commands
(create, update, show, close, dep, delete) and missing command
coverage (comments, label, search, config, lint, delete). All new
tests pass; 6 pre-existing script test failures remain unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 18:47:41 -08:00

19 lines
415 B
Text

# Test bd create error cases
bd init --prefix test
# Create with no title should fail
! bd create
stderr 'title required'
# Create with empty title should fail
! bd create ''
stderr 'title is required'
# Create with invalid type should fail
! bd create 'Test' --type invalid-type
stderr 'invalid issue type'
# Create with invalid priority should fail
! bd create 'Test' --priority 99
stderr 'invalid priority'