NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

PHPunit wont work in some projects

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
AJRames



Joined: 20 Sep 2011
Posts: 1

PostPosted: Tue Sep 20, 2011 6:44 am    Post subject: PHPunit wont work in some projects Reply with quote

Hey guys,

I've read some of the PHPunit threads here but the answer to my question is still open.

I've the problem that netbeans wont give me the right output at unit tests in some projects (at the place where the colour is green or red... - Test Results). There is only a message "No tests executed. (0.0s)". When I look in the output window, I realize that the tests run.

Code:

PHPUnit 3.5.15 by Sebastian Bergmann.

....


When I execute this in a smaller testproject in netbeans, that all works fine...also in CMD.

Do you have any idea why this is so?

I'm using Netbeans 7 in Windows.
After I've upgraded pear (pear upgrade pear) and installed codesniffer and MessDetector these occured.
By the way: Codesniffer also wont work in this project. In the testproject it works also...

Thanks for help!
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Tue Sep 20, 2011 10:21 am    Post subject: PHPunit wont work in some projects Reply with quote

Hi,

Dne Tuesday 20 of September 2011 08:44:21 AJRames napsal(a):
Quote:
I've the problem that netbeans wont give me the right output at unit tests
in some projects (at the place where the colour is green or red... - Test
Results). There is only a message "No tests executed. (0.0s)". When I look
in the output window, I realize that the tests run.

start NetBeans from command line with:

-J-Dnb.php.phpunit.keeplogs=true

run tests and have a look at <tmp-dir>/nb-phpunit-log.xml. If the file seems to
be correct (there are some data in it), please, submit an issue [1] against
php/PHPUnit and attach the log file.

Thanks,
Tomas
[1] http://netbeans.org/community/issues.html
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo