function simpletest_phpunit_configuration_filepath

Returns the path to core's phpunit.xml.dist configuration file.

Return value

string The path to core's phpunit.xml.dist configuration file.

Deprecated

in drupal:8.4.0 and is removed from drupal:9.0.0. PHPUnit test runners should change directory into core/ and then run the phpunit tool. See simpletest_phpunit_run_command() for an example.

See also

simpletest_phpunit_run_command()

1 call to simpletest_phpunit_configuration_filepath()
SimpletestDeprecationTest::testDeprecatedFunctions in core/modules/simpletest/tests/src/Kernel/SimpletestDeprecationTest.php
@expectedDeprecation The simpletest_phpunit_configuration_filepath function is deprecated since version 8.4.x and will be removed in 9.0.0. @expectedDeprecation The simpletest_test_get_all function is deprecated in version 8.3.x and will be removed in…

File

core/modules/simpletest/simpletest.module, line 275

Code

function simpletest_phpunit_configuration_filepath() {
    @trigger_error('The ' . __FUNCTION__ . ' function is deprecated since version 8.4.x and will be removed in 9.0.0.', E_USER_DEPRECATED);
    return \Drupal::root() . '/core/phpunit.xml.dist';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.