954,536 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

JUnit problem

Hi all, ive got a bit of an annoying problem regarding JUnit 4.5.

I've created a bunch of unit tests which work properly when I right click the class and press 'Test' (in Netbeans). However, when I right click the whole project and press 'Test', i get a ClassNotFoundException.

I checked the classpaths of the classes and the jar file of JUnit is added in all of them :/

This problem all started when I changed the directory for my tests' location - but it doesnt make any sense to me as they work when tested individually!

Any suggestions?

Thanks

SeanC
Light Poster
47 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: