Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/visit-x/arc-phpunit
Arcanist extension - phpunit7 test engine and result parser
https://github.com/visit-x/arc-phpunit
arc arcanist phabricator phabricator-extension php7 phpunit7
Last synced: 20 days ago
JSON representation
Arcanist extension - phpunit7 test engine and result parser
- Host: GitHub
- URL: https://github.com/visit-x/arc-phpunit
- Owner: VISIT-X
- Created: 2019-02-06T05:45:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-16T09:44:57.000Z (almost 4 years ago)
- Last Synced: 2024-11-16T17:43:10.377Z (about 1 month ago)
- Topics: arc, arcanist, phabricator, phabricator-extension, php7, phpunit7
- Language: PHP
- Size: 39.1 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Arcanist `phpunit` [v7+]
===============================## Installation
```bash
composer require visit-x/arc-phpunit
```## Configuration
1. Load the library into phabricator:
```json
// .arcconfig
"load": [
...
"./vendor/visit-x/arc-phpunit/src/phpunit-seven"
]
...
```2. Add config options for `phpunit` binary and `phpunit.xml`:
```json
// .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
```bash
arc unit
```