Getting PHPUnit Working - Include Path not set correctly?

后端 未结 5 883
我在风中等你
我在风中等你 2020-12-08 07:39

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

5条回答
  •  隐瞒了意图╮
    2020-12-08 08:42

    As of PHPUnit 3.5, you have to include the autoloader yourself:

    require 'PHPUnit/Autoload.php'; // PEAR should be in your include_path
    

提交回复
热议问题