]> khamidou — GitHub mirrors - arcanist.git/commit
Search for more test locations in PHPUnitTestEngine
authorepriestley <git@epriestley.com>
Sun, 30 Sep 2012 01:03:43 +0000 (18:03 -0700)
committerepriestley <git@epriestley.com>
Sun, 30 Sep 2012 01:03:43 +0000 (18:03 -0700)
commit777c119a0eb13b6d7941af95c90b558c28542e41
treed3263a345ec96935060a31f4f0a56cfa933ff542
parent36acc9a01d0876971744deb285f25bb894e84c56
Search for more test locations in PHPUnitTestEngine

Summary:
See https://github.com/facebook/arcanist/pull/53

  - Work correctly for directories with `%` in their name; this breaks under sprintf().
  - Search for `src/` -> `tests/` style directories.
  - Add coverage for search paths.

Test Plan:
Ran unit tests.

I don't have a working test case for PHPUnit tests, can one of you guys apply this and verify I didn't break your setups?

Reviewers: quard, aurelijus

Reviewed By: aurelijus

CC: aran
Differential Revision: https://secure.phabricator.com/D3558
src/__phutil_library_map__.php
src/unit/engine/PhpunitTestEngine.php
src/unit/engine/__tests__/PHPUnitTestEngineTestCase.php [new file with mode: 0644]