Posts tagged: testing

Back to Blog Listing

Posts tagged: testing

Introducing vitest-command-line

Testing command-line tools is deceptively hard - hanging processes, lost stderr, temp file juggling, and unreadable failures. I built vitest-command-line to make CLI testing in Vitest simple and robust.

Ben HoustonJune 10, 2026

Vitest Global Setup

Vitest's globalSetup feature runs code once before all tests execute, and optionally a cleanup function after all tests complete.

Ben HoustonNovember 19, 2025

Intent-Driven Testing

Intent-driven testing shifts validation from implementation details to declared intent, ensuring your system works as specified rather th an just as coded. This approach generates comprehensive test suites from your intent files, introducing the powerful concept of specification coverage.

Ben HoustonMay 7, 2025

Spec Coverage > Code Coverage

Code coverage tells you what code has been touched. Spec coverage tells you what intent has been verified. In the era of intent-based programming, it's time to stop measuring tests by lines of code and start measuring them by meaning.

Ben HoustonApril 27, 2025

The Rise of "Test Theater"

AI coding assistants are excellent at generating tests with high coverage. But there is often a critical problem: they are testing that code behaves as written, not as intended. This "Test Theater" creates a dangerous illusion of quality while providing almost no real protection against bugs.

Ben HoustonMarch 25, 2025

The Rise of "Test Theater"