1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42:41 +01:00

Add support for '--everything' in NoseTestEngine

Summary: Adds support for running all unit tests with NoseTestEngine.

Test Plan:
`ran arc unit --everything` and got unit test results

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: joshuaspence, Korvin

Differential Revision: https://secure.phabricator.com/D14362
This commit is contained in:
Mukunda Modell 2016-01-25 04:07:43 -06:00
parent b87138356a
commit 607cd77ca1

View file

@ -9,7 +9,16 @@ final class NoseTestEngine extends ArcanistUnitTestEngine {
private $parser;
protected function supportsRunAllTests() {
return true;
}
public function run() {
if ($this->getRunAllTests()) {
$root = $this->getWorkingCopy()->getProjectRoot();
return $this->runTests(array($root), './');
}
$paths = $this->getPaths();
$affected_tests = array();