]> khamidou — GitHub mirrors - arcanist.git/commit
Improve test discovery with PhutilUnitTestEngine
authorJoshua Spence <josh@joshuaspence.com>
Wed, 3 Jun 2015 11:07:17 +0000 (21:07 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Wed, 3 Jun 2015 11:07:17 +0000 (21:07 +1000)
commit8c589f1f759f0913135b8cc6959a6c1589e14ae4
tree1c7bb87feb99ca9df0be4b7550310c1807825a13
parent4754a3e15639604812204db56f35dc9d164b3c67
Improve test discovery with PhutilUnitTestEngine

Summary:
Ref T8042. Tests were not being discovered in two different scenarios:

  # Files modified at the same level as the library root directory.
  # "Normal" directories like `src/unit/engine`.

This regression was caused by D12689.

Test Plan: Added unit tests.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T8042

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