I using NetBeans 7.3 with PHP Unit test.
Test file creation works. I can create test file by right-click: tools->create PHP unit test. New test is created in Test folder (filenameTest.php). When I run the test (Ctr+F6), in output window, I am getting error saying: that it can’t find the file I am trying to test. If I include_once the original file into test file everything works, and I can run the tests.
I would prefer not to add that include_once line manually into each testFile. Is there a way to have NetBeans to do that for me automatically? Or how do I configure bootstrap file and/or phpunit.xml file, so it works without including the original file into testfile?
Thanks in advance.