Re: Can't addFile() in SimpleTest Test Suite



On Sep 29, 1:51 pm, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
Use a relative path based off of the website root directory, which can
be found in $_SERVER['DOCUMENT_ROOT'].

Thanks, Jerry. That worked of course:

$this->addFile( $_SERVER['DOCUMENT_ROOT'] . '/my_test_case.php' );

Is this pretty much the "standard" way of including files in a test
suite?
.