]> khamidou — GitHub mirrors - arcanist.git/commit
PHPUnit test engine
authorAurelijus <aurelijus@astdev.lt>
Tue, 15 May 2012 13:12:10 +0000 (15:12 +0200)
committerepriestley <git@epriestley.com>
Tue, 22 May 2012 14:12:03 +0000 (07:12 -0700)
commit4f739014ae5d1489cd6afe0f1b64b692272cfe19
treea8cd9f64fd83b818917cd6ea07034eb04d604beb
parentccdf9ae957f995154374a0dc344fb260b112ce2b
PHPUnit test engine

Summary:
PHPUnit wrapper for arc.
The idea here is simple - find the test case which is related to the updated
class file. Generate tmp files for json & clover reports, run phpunit
with provided arguments.
It supports phpunit configuration file setting in `.arcconfig`: `phpunit_config`.
Path should be relative to project root.

Test Plan:
- Set `unit_engine` to `PhpunitTestEngine`
- Try running tests with & without `phpunit_config` option.

Reviewers: epriestley, davidreuss

Reviewed By: epriestley

CC: aran, Koolvin, jungejason
Differential Revision: https://secure.phabricator.com/D2472
src/__phutil_library_map__.php
src/unit/engine/phpunit/PhpunitTestEngine.php [new file with mode: 0644]
src/unit/engine/phpunit/__init__.php [new file with mode: 0644]