Integration Tests
This directory contains integration tests for bd (beads) that test end-to-end functionality.
Prerequisites
- bd installed:
go install github.com/steveyegge/beads/cmd/bd@latest - Python 3.7+ for Python-based tests
Running Tests
# Run all integration tests
python3 -m pytest tests/integration/
Adding New Tests
Integration tests should:
- Use temporary workspaces (cleaned up automatically)
- Test real bd CLI commands, not just internal APIs
- Use
--no-daemonflag for fast execution - Verify behavior in
.beads/issues.jsonlwhen relevant - Clean up resources in
finallyblocks - Provide clear output showing what's being tested