visit-x / arc-phpunit
Arcanist util to run tests and generate code coverage reports for phpunit7 format.
Installs: 11 397
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 1
Open Issues: 1
Requires
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-12-16 17:49:31 UTC
README
Installation
composer require visit-x/arc-phpunit
Configuration
- Load the library into phabricator:
// .arcconfig "load": [ ... "./vendor/visit-x/arc-phpunit/src/phpunit-seven" ] ...
- Add config options for
phpunit
binary andphpunit.xml
:
// .arcconfig "unit.engine": "PHPUnit7Engine", "unit.phpunit.binary": "./vendor/bin/phpunit", "unit.phpunit.config": "./path/to/phpunit.xml", "unit.phpunit.test-dirs": [ "tests/some-folder", "tests/another-folder" ] ...
Run the unit test engine
arc unit