Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 628 Bytes

README.md

File metadata and controls

41 lines (32 loc) · 628 Bytes

Arcanist phpunit [v7+]

Installation

composer require visit-x/arc-phpunit

Configuration

  1. Load the library into phabricator:
// .arcconfig
"load": [
	...
	"./vendor/visit-x/arc-phpunit/src/phpunit-seven"
]
...
  1. Add config options for phpunit binary and phpunit.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