Skip to content

v0.6.0-rc12: Enhanced Testing Infrastructure

Pre-release
Pre-release

Choose a tag to compare

@StevenTCramer StevenTCramer released this 18 Jul 14:42
· 704 commits to master since this release

What's New

✨ Features

  • Added ToCommandString() method to CommandResult for debugging command construction

🧪 Testing Improvements

  • Refactored ALL command builder tests to verify actual command strings
  • Tests now validate exact command construction instead of just checking for non-null builders
  • Added comprehensive command string verification across:
    • All 16 DotNet command builders
    • Gwq command builder (25 tests)
    • Ghq command builder (20 tests)
    • Fzf command builder (25 tests)
    • Shell.Run builder (20 tests)

📝 Benefits

  • Real validation of command construction
  • Better documentation of expected command formats
  • Improved regression protection
  • Enhanced debugging capabilities when commands fail

This release significantly improves test quality by transforming "null-check only" tests into meaningful command verification tests.