且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

phpunit 抛出未捕获的异常 'PHPUnit_Framework_Exception

更新时间:2023-11-15 23:10:16

您会注意到它抛出异常,因为它正在寻找一个与您为测试套件提供的 name 同名的文件.您需要实际编写一个测试套件,然后将该测试套件的名称提供给您的配置:http://www.phpunit.de/manual/3.2/en/organizing-test-suites.html

Youll notice its throwing the exception because its looking for a file named the same as the name you provided for your test suite. You need to actually write a test suite and then supply the name of that test suite to your config: http://www.phpunit.de/manual/3.2/en/organizing-test-suites.html