← all projects

phpunit-zero-config

Zero configuration setup for PHPUnit
repo

PHPUnit Zero Configuration Setup

Requires devbox.

# open the devbox shell
$ devbox shell
Starting a devbox shell...

# run phpunit using the provided configuration
(devbox) $ phpunit
PHPUnit 12.1.0 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.4.6
Configuration: phpunit.dist.xml

..                                                                  2 / 2 (100%)

Time: 00:00.002, Memory: 8.00 MB

OK (2 tests, 2 assertions)