I do the following:
- From the Package Explorer I select "New, Other, JUnit Test Case"
I write this code:
package dk.sample; import org.junit.*; import static org.junit.Assert.*; public class TestCase { @Test public void alwaysTrue(){ assertTrue( true ); } }
I then select "Run As, JUnit test"
Get this error: "Class not found dk.sample.TestCase java.lang.ClassNotFoundException: ...."
What do I miss? Have tried with different Run Configurations - but it seems like I miss a classpath somewhere? But to what and where?