junichi11 / cakephp-netbeans

CakePHP support in NetBeans
http://cakephp.org
71 stars 18 forks source link

Using "Test" button in test file #109

Closed tranfuga25s closed 9 years ago

tranfuga25s commented 9 years ago

Should be nice to be hable to run the test when the test file is opened.

If I have open ModelA.php and ModelATest.php and I'm editing the ModelATest.php and tuch the button "Test" in the Test coverage toolbar, a message saying "The test file por this file is not found".

junichi11 commented 9 years ago

Perhaps, that is not a plugin's problem. Did you try to set test directory in project properties?

tranfuga25s commented 9 years ago

It is set already on the proyect preferences and appears inside the "Test Files" in the proyect tree. The "problem" occur when editing the test file, not the original model or controller file.

junichi11 commented 9 years ago

It is set already on the proyect preferences and appears inside the "Test Files" in the proyect tree.

Could you provide your screenshots?

tranfuga25s commented 9 years ago

Here is the screenshot:

testfiletest

junichi11 commented 9 years ago

Thanks for your screenshot. Sorry, It is not a plugin's problem. And we can't fix it. (Code Coverage is the official feature of NetBeans team) Please try to report that to the NetBeans bugzilla or forum. Probably, Test file for the selected source file means Test file of PropiedadTest.