Vitest Global Setup
When writing tests with Vitest, you often need to perform setup tasks before all tests run and cleanup tasks after all tests complete. This is where Vitest's globalSetup feature comes in handy.
Ben Houston • November 19, 2025
When writing tests with Vitest, you often need to perform setup tasks before all tests run and cleanup tasks after all tests complete. This is where Vitest's globalSetup feature comes in handy.
Ben Houston • November 19, 2025
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 Houston • May 7, 2025
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 Houston • April 27, 2025
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 Houston • March 25, 2025
