Reflex is a PHP testing framework for defining, executing, and evaluating tests to validate behavior and improve software quality.
Config Layers
Combine multiple configuration layers and files to adapt tests to different use cases, environments, or project setups.
Progressive Doubles
Create, reuse, and reset stubs and mocks for multiple interactions, allowing tests to evolve while keeping code concise, readable, and easy to maintain by reducing boilerplate.
Individual Runners
Execute tests using built in runners or custom implementations to match different workflows, tools, or execution environments.
Efficient Expectations
Validate outcomes using structured expectations that reduce repetitive assertion code while remaining explicit and predictable.
Dependency Injection
Inject custom code or services into tests to keep setup isolated, clear, and easy to maintain.