I need to solve a java problem for an interview, and they have sent me the test class. It starts with
import org.junit.Before;
and also ha
If you are using eclipse and working on a maven project, then also the above steps work.
Right-click on your root folder.
Properties -> Java Build Path -> Libraries -> Add Library -> JUnit -> Junit 3/4
Step By Step Instructions here