mirror of
https://github.com/pestphp/pest.git
synced 2026-12-04 23:15:06 +01:00
1.0 KiB
1.0 KiB
The intention of this project
Pest is a testing framework for PHP with a focus on simplicity. A PHP developer uses it to write the tests of an application or of a package, and an AI agent reads its output. It is a package, and src/Functions.php holds its public API.
Install the dependencies with composer install. Run the tests with composer test. Start the program with ./bin/pest.
src/— the framework: the plugins, the expectation API, the test case and the console outputbin/— the executablepestand the worker of the parallel runneroverrides/— the classes of PHPUnit that Pest replaces, whichsrc/Bootstrappers/BootOverrides.phploads at bootresources/— the views of the console output and the base configuration of PHPUnitstubs/— the files thatpest --initwrites into a projecttests/— the tests of the framework, in Pest itselftests-external/— the tests that must sit outsidetests/docker/— the image that runs the tests on one version of PHP