]> khamidou — GitHub mirrors - arcanist.git/commit
Further improvements to test discovery
authorJoshua Spence <josh@joshuaspence.com>
Sun, 14 Jun 2015 21:23:17 +0000 (07:23 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 14 Jun 2015 21:23:17 +0000 (07:23 +1000)
commit3c3438714b43c2c67e7e0a1c0cc3eb1b01d69ea9
treec1ed0e5a832690f6f7eaa9cb3c54f9648bf666c3
parent7d15b85a1bc099e34a3bbf194fc8f92c33bc69a9
Further improvements to test discovery

Summary: I found another issue with T8042... it seems that tests from the root directory (i.e. `src/__tests__` are not being discovered properly). The handling of this case (`$library_path` being the library root directory) can probably be improved, and I am open to suggestions. Depends on D13202.

Test Plan: Added to existing test cases.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D13185
src/unit/engine/PhutilUnitTestEngine.php
src/unit/engine/__tests__/PhutilUnitTestEngineTestCase.php