final public function __construct()Inherited
| this | //Implicit.// |
public function getEngineConfigurationName()
| wild |
final public function setRunAllTests($run_all_tests)Inherited
| $run_all_tests |
| wild |
final public function getRunAllTests()Inherited
| wild |
protected function supportsRunAllTests()
| wild |
final public function setConfigurationManager($configuration_manager)Inherited
| ArcanistConfigurationManager | $configuration_manager |
| wild |
final public function getConfigurationManager()Inherited
| wild |
final public function setWorkingCopy($working_copy)Inherited
| ArcanistWorkingCopyIdentity | $working_copy |
| wild |
final public function getWorkingCopy()Inherited
| wild |
final public function setPaths($paths)Inherited
| array | $paths |
| wild |
final public function getPaths()Inherited
| wild |
final public function setEnableCoverage($enable_coverage)Inherited
| $enable_coverage |
| wild |
final public function getEnableCoverage()Inherited
| wild |
final public function setRenderer($renderer)Inherited
| ArcanistUnitRenderer | $renderer |
| wild |
public function run()
| wild |
public function shouldEchoTestResults()Inherited
Modify the return value of this function in the child class, if you do not need to echo the test results after all the tests have been run. This is the case for example when the child class prints the tests results while the tests are running.
| wild |
private function getAllTests()
| wild |
private function getTestsForPaths()
Retrieve all relevant test cases.
Looks for any class that extends PhutilTestCase inside a __tests__ directory in any parent directory of every affected file.
The idea is that "infrastructure/__tests__/" tests defines general tests for all of "infrastructure/", and those tests run for any change in "infrastructure/". However, "infrastructure/concrete/rebar/__tests__/" defines more specific tests that run only when "rebar/" (or some subdirectory) changes.
| list<string> | The names of the test case classes to be executed. |
public function getTestPaths()
Returns the paths in which we should look for tests to execute.
| list<string> | A list of paths in which to search for test cases. |