Context Makes Tests Reusable
Summary
The article argues that tests can be made reusable by passing a context object into test bodies and fixtures, enabling tests to adapt to different data sources and configurations. It covers design patterns like suites, metadata inheritance, and middlewares to build and propagate execution context, reducing coupling and improving DX. It also shows refactoring examples and discusses future work and references SRFI-269 and related projects.