function simpletest_phpunit_xml_filepath

Returns the path to use for phpunit's --log-junit option.

Parameters

$test_id: The current test ID.

Return value

string Path to the phpunit xml file to use for the current test_id.

1 call to simpletest_phpunit_xml_filepath()
simpletest_run_phpunit_tests in drupal/core/modules/simpletest/simpletest.module
Executes phpunit tests and returns the results of the run.

File

drupal/core/modules/simpletest/simpletest.module, line 212
Provides testing functionality.

Code

function simpletest_phpunit_xml_filepath($test_id) {
  return drupal_realpath('public://simpletest') . '/phpunit-' . $test_id . '.xml';
}