How do people get past this scenario, that I guess would apply with any xUnit framework: (I'm using PHPUnit)

Directory structure:

<font class="small">Code:</font><hr /><pre>source_files &lt;dir&gt;
systemA &lt;dir&gt;

test_files &lt;dir&gt;
systemA &lt;dir&gt;
</pre><hr />
test_process.php contains tests for class in process.php.

But a method in process.php reads in config.txt.

So when testing test_process.php, it will include process.php but expect config.txt to be in the test_files directory, which it isn't.

What's the best strategy here?