Skip to main content
added 305 characters in body
Source Link
kirbycope
  • 4.1k
  • 1
  • 13
  • 30

In Eclipse you need to get the junit.jarjunit.jar and add it to your build path (if you exported using the junit option). To add it to the buildpath:

  1. Create a 'lib' folder in your project
  2. Copy the .jar file into the lib folder
  3. Right-click the .jar and select "Add to Build Path"

You should then be able to run as a JUnit test.

In Eclipse you need to get the junit.jar and add it to your build path (if you exported using the junit option).

In Eclipse you need to get the junit.jar and add it to your build path (if you exported using the junit option). To add it to the buildpath:

  1. Create a 'lib' folder in your project
  2. Copy the .jar file into the lib folder
  3. Right-click the .jar and select "Add to Build Path"

You should then be able to run as a JUnit test.

Source Link
kirbycope
  • 4.1k
  • 1
  • 13
  • 30

In Eclipse you need to get the junit.jar and add it to your build path (if you exported using the junit option).