Skip to content

Releases: nizos/tdd-guard

TDD Guard v0.10.2

01 Sep 15:37
v0.10.2
f3bcbe2
Compare
Choose a tag to compare

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

v0.10.1...v0.10.2

TDD Guard v0.10.1

31 Aug 12:28
v0.10.1
985c034
Compare
Choose a tag to compare

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

v0.10.0...v0.10.1

TDD Guard v0.10.0

30 Aug 17:42
v0.10.0
42cb2ec
Compare
Choose a tag to compare

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

v0.9.3...v0.10.0

tdd-guard-rust v0.1.0

29 Aug 19:39
rust-v0.1.0
715f80b
Compare
Choose a tag to compare

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

v0.9.3...rust-v0.1.0

TDD Guard v0.9.3

26 Aug 16:53
v0.9.3
d5384da
Compare
Choose a tag to compare

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

v0.9.2...v0.9.3

tdd-guard-go v0.2.1

25 Aug 18:51
reporters/go/v0.2.1
Compare
Choose a tag to compare

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

reporters/go/v0.2.0...reporters/go/v0.2.1

TDD Guard v0.9.2

17 Aug 11:03
v0.9.2
ef749f5
Compare
Choose a tag to compare

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

v0.9.1...v0.9.2

tdd-guard-go v0.2.0

17 Aug 11:09
reporters/go/v0.2.0
ef749f5
Compare
Choose a tag to compare

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

go-v0.1.1...reporters/go/v0.2.0

TDD Guard v0.9.1

11 Aug 19:24
v0.9.1
578daf3
Compare
Choose a tag to compare

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

v0.9.0...v0.9.1

tdd-guard-go v0.1.1

11 Aug 19:29
go-v0.1.1
578daf3
Compare
Choose a tag to compare

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

Full Changelog

go-v0.1.0...go-v0.1.1