]> khamidou — GitHub mirrors - arcanist.git/commit
Allow PhutilUnitTestEngine to execute tests from a single path
authorJoshua Spence <josh@joshuaspence.com>
Thu, 28 May 2015 08:25:56 +0000 (18:25 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Thu, 28 May 2015 08:39:37 +0000 (18:39 +1000)
commit8fe013b0ecb58bd38213f13064bcc918416b8d4d
tree86c99a46332a3c9fbf795d93ee799b43ba28d104
parent2924ebb9223c135009475c495208cd5abf80e059
Allow PhutilUnitTestEngine to execute tests from a single path

Summary: Fixes T8042. Changes the way that `PhutilUnitTestEngine` discovers unit tests. In particular, if you only modify a single test case then there is no reason to run all other test cases within the same directory (which is the current behavior).

Test Plan: Added some unit tests.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T8042

Differential Revision: https://secure.phabricator.com/D12689
src/unit/engine/ArcanistUnitTestEngine.php
src/unit/engine/PhutilUnitTestEngine.php
src/unit/engine/__tests__/PhutilUnitTestEngineTestCase.php
src/unit/engine/phutil/PhutilTestCase.php