Releases: nizos/tdd-guard
Releases · nizos/tdd-guard
TDD Guard v0.10.2
What's Changed
Bug Fixes
- Allow code removal operations in any TDD phase - makes TDD validation more practical as it shouldn't be necessary to write a test just to remove code, tests, or functionality
Contributors
- Thanks to @VilemP for reporting this issue and providing valuable feedback!
Installation
npm install -g [email protected]
Full Changelog
TDD Guard v0.10.1
What's Changed
Bug Fixes
- Fix Windows compatibility for process execution and file paths
- Add shell option for execFile/execFileSync calls on Windows platform
- Replace hardcoded path separators with path.join()
- Use os.homedir() instead of $HOME environment variable
Installation
npm install -g [email protected]
Full Changelog
TDD Guard v0.10.0
What's Changed
New Features
- Custom instructions support to adjust TDD validation rules to your needs
- Rust test reporter by @104hp6u - Thank you for your contribution!
Documentation
- Added custom instructions guide
- Added enforcement guide for strengthening TDD validation
- Added Support section with links to discussions and configuration
Improvements
- Refactored and modularized TDD validation prompts for better maintainability
- Updated keywords for better npm discoverability
Installation
npm install -g [email protected]
Full Changelog
tdd-guard-rust v0.1.0
What's Changed
New Features
- Initial release of Rust test reporter for TDD Guard
- Support for both cargo test and cargo-nextest runners
- JSON output parsing for detailed test results
- Compilation error detection and reporting
- Pass-through design maintains real-time test visibility
- Contributed by @104hp6u - Thank you for your first contribution!
Technical Details
- Supports Rust 1.70+
- Handles ANSI escape codes in terminal output
- Captures both test failures and compilation errors
- Provides structured output in TDD Guard format
Installation
# Install TDD Guard (for enforcement)
npm install -g tdd-guard
# Install the Rust reporter
cargo install tdd-guard-rust
Usage
With cargo-nextest (Recommended)
cargo nextest run 2>&1 | tdd-guard-rust --project-root /path/to/project
With cargo test
cargo test -- -Z unstable-options --format json 2>&1 | tdd-guard-rust --project-root /path/to/project
Full Changelog
TDD Guard v0.9.3
What's Changed
Performance Improvements
- Optimized Claude CLI validation speed by bypassing MCP server loading with
--strict-mcp-config
flag - Disabled TodoWrite tool for faster validation model responses
- Thanks to @pshempel for identifying this performance issue (#43)
Bug Fixes
- Fixed Go reporter error message visibility in formatter output
- Build failures and test failures now display properly for better debugging
- Thanks to @wizzomafizzo for the fix
Installation
npm install -g [email protected]
Full Changelog
tdd-guard-go v0.2.1
What's Changed
Bug Fixes
- Restore error message visibility in formatter output (contributed by @wizzomafizzo)
Contributors
Thank you to @wizzomafizzo for contributing this fix!
Installation
go install github.com/nizos/tdd-guard/reporters/go/cmd/[email protected]
Full Changelog
TDD Guard v0.9.2
What's Changed
Improvements
- Enhanced test results processor to support multiple error messages from all test reporters
- Fixed Go reporter to correctly detect build failures and compilation errors
- Improved Go reporter output formatting with standard test format conversion
Documentation
- Added comprehensive contribution guidelines by @SpiGAndromeda (#28) - Thank you for your first contribution!
Installation
npm install -g [email protected]
Full Changelog
tdd-guard-go v0.2.0
What's Changed
New Features
- Added formatter to convert JSON output to standard go test format while filtering out verbose JSON data
- Enhanced output formatting for better readability - now displays clean test output similar to running without -json flag
Bug Fixes
- Correctly mark build failures as failed
- Fixed version display issue - now shows proper semantic version instead of pseudo-version
Improvements
- Support for multiple error messages in test results
- Better error handling and reporting
- Significantly reduced output verbosity while maintaining all necessary data storage
Acknowledgments
- Thanks to @sQVe for reporting the verbosity issue with JSON output
Installation
go install github.com/nizos/tdd-guard/reporters/go/cmd/[email protected]
Verification
After installation, verify the version:
go version -m $(which tdd-guard-go)
Should now display v0.2.0
instead of the previous pseudo-version format.
Full Changelog
TDD Guard v0.9.1
What's Changed
Bug Fixes
- Fix test filtering to include Go test results instead of incorrectly filtering them out
- Remove framework-specific test filtering that was causing issues with non-standard file extensions
Improvements
- Simplified validation pipeline by removing complex file extension heuristics
- Test relevancy is now assessed by the validation agent rather than pre-filtering
- Reduced complexity in context building by treating all test frameworks equally
Installation
npm install -g [email protected]
Full Changelog
tdd-guard-go v0.1.1
What's Changed
Improvements
- Enhanced build failure handling to work consistently across Go versions
- Added stderr redirection (2>&1) to capture compilation errors and build failures
- Improved error detection for various Go compiler output formats
- Better handling of test execution failures vs build failures
Documentation
- Updated Go version requirement to 1.24+
- Added stderr redirection to all example commands
- Clarified usage with absolute paths in Makefile examples
Installation
go install github.com/nizos/tdd-guard/reporters/go/cmd/[email protected]
Usage
go test -json ./... 2>&1 | tdd-guard-go -project-root /path/to/project