
About Pest
Pest is a testing framework for PHP projects. It uses short test functions and includes browser testing and AI evals.
What it does
Tests are written as it or expect blocks in plain PHP. Browser tests can visit a page, type into fields, press buttons and check the result. Test impact analysis runs only the tests that a code change can affect, which keeps feedback fast on large suites. Failed tests print the assertion, the diff and the exact line of code.
Key features
- Browser tests with visit and assert steps
- Test impact analysis with the --tia option
- Readable failure output with the exact line
- Parallel runs, coverage and snapshot tests
Who it's for
PHP teams that want readable tests and fast feedback, including teams that use AI coding agents to write and check code.
Pricing and good to know
Pest is open source under the MIT license. The GitHub repository has about 11.8k stars, and the site lists version 5 as now available. The docs cover installation, browser testing and the other built-in features that ship with the framework.
Highlights
- Browser tests that visit and check pages
- Run only the tests affected by a change
- Failure output with the exact code line
- Parallel runs, coverage and snapshot tests












