Unit tests that haven't been opened in editor won't run

General discussion on Zend Studio

Unit tests that haven't been opened in editor won't run

Postby jsweeney on Tue Apr 07, 2009 4:45 pm

I noticed that when I create a run configuration for a folder containing all my unit tests, only the test classes that have the little arrow in the navigator (indicating they are expandable to see includes and class definitions) are run. In order to get the arrows to appear, I have to open the files in the editor. The unfortunate result is that every time I relaunch ZS and want to run all my tests, I have to go and make sure every test class has been opened or the tests will not run. Is there a workaround for this? Is there some way to get this file analysis to happen without actually opening the files? We have hundreds of tests!
Thanks for any advice!
jsweeney
 
Posts: 3
Joined: Thu Mar 26, 2009 4:34 pm

Re: Unit tests that haven't been opened in editor won't run

Postby jsweeney on Tue Apr 07, 2009 5:01 pm

And BTW I'm using ZS 6.1.1 for the Mac
jsweeney
 
Posts: 3
Joined: Thu Mar 26, 2009 4:34 pm


Return to Zend Studio

Who is online

Users browsing this forum: Google [Bot] and 2 guests