composer require visit-x/arc-phpunit
- 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"
]
...
arc unit