开发者

Zend Studio 7.1 PHPUnit Test Case wizard does not populate "Element to Test"

开发者 https://www.devze.com 2022-12-15 06:38 出处:网络
When I follow the instructions in ZS documentation to create a phpunit test case, the wizard returns no objects to select on the \"Element to Tes开发者_如何学Pythont\" line. Selecting \"browse\" provi

When I follow the instructions in ZS documentation to create a phpunit test case, the wizard returns no objects to select on the "Element to Tes开发者_如何学Pythont" line. Selecting "browse" provides an empty dialog box. The PHPUnit path in my preferences shows "/Applications/zend/zs710/plugins/com.zend.php.phpunit_7.1.0.v20091120-0900/resources/library/". What else can I check to see why I cannot create a test case? I'm new to ZS and PHP, so I have no idea how to troubleshoot this.

Thanks.


I think the problem was my unfamiliarity with the tool. I was trying to create the PHPUnit test on PHP file. Quite by accident, I tried performing the same action on the class within the file in the PHP Explorer and it worked. Thanks all.


You should start type an existing class you want to exercise in your test case, it's like an "open type" dialog...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号