Page MenuHomePhabricator

final class NoseTestEngine
libphutil Technical Documentation ()

Very basic 'nose' unit test engine wrapper.

Requires nose 1.1.3 for code coverage.

Methods

final public function __construct()
Inherited

This method is not documented.
Return
this//Implicit.//

public function getEngineConfigurationName()
Inherited

This method is not documented.
Return
wild

final public function setRunAllTests($run_all_tests)
Inherited

This method is not documented.
Parameters
$run_all_tests
Return
wild

final public function getRunAllTests()
Inherited

This method is not documented.
Return
wild

protected function supportsRunAllTests()

This method is not documented.
Return
wild

final public function setConfigurationManager($configuration_manager)
Inherited

This method is not documented.
Parameters
ArcanistConfigurationManager$configuration_manager
Return
wild

final public function getConfigurationManager()
Inherited

This method is not documented.
Return
wild

final public function setWorkingCopy($working_copy)
Inherited

This method is not documented.
Parameters
ArcanistWorkingCopyIdentity$working_copy
Return
wild

final public function getWorkingCopy()
Inherited

This method is not documented.
Return
wild

final public function setPaths($paths)
Inherited

This method is not documented.
Parameters
array$paths
Return
wild

final public function getPaths()
Inherited

This method is not documented.
Return
wild

final public function setEnableCoverage($enable_coverage)
Inherited

This method is not documented.
Parameters
$enable_coverage
Return
wild

final public function getEnableCoverage()
Inherited

This method is not documented.
Return
wild

final public function setRenderer($renderer)
Inherited

This method is not documented.
Parameters
ArcanistUnitRenderer$renderer
Return
wild

public function run()

This method is not documented.
Return
wild

public function shouldEchoTestResults()
Inherited

ArcanistUnitTestEngine

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.

Return
wild

public function runTests($test_paths, $source_path)

This method is not documented.
Parameters
$test_paths
$source_path
Return
wild

public function buildTestFuture($path, $xunit_tmp, $cover_tmp)

This method is not documented.
Parameters
$path
$xunit_tmp
$cover_tmp
Return
wild

public function parseTestResults($source_path, $xunit_tmp, $cover_tmp)

This method is not documented.
Parameters
$source_path
$xunit_tmp
$cover_tmp
Return
wild

public function readCoverage($cover_file, $source_path)

This method is not documented.
Parameters
$cover_file
$source_path
Return
wild