mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32: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:
parent
b87138356a
commit
607cd77ca1
1 changed files with 9 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue