I\'m trying to get PHPUnit working on my development environment but I\'ve hit a bit of a roadblock when it comes to including PHPUnit in my scripts. I know that I need to s
Make sure every time to use include() or require(), you prefix the actual file name with dirname(__FILE__). This ensures that the file you are including is at the path you specify relative to the actual file that the include is in. By deftault, PHP includes relative to the file that is invoked to start the program.