UT newb: UT and relative paths
How do people get past this scenario, that I guess would apply with any xUnit framework: (I'm using PHPUnit)
<font class="small">Code:</font><hr /><pre>source_files <dir>
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?