SeanC 0 Light Poster

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.