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