* Run a Junit test
- Double-click the unit test class and add the following test codes:
@Test
public void testHelloWorld()
assertEquals("HelloWorld", HelloWorld.mainStr);
- Right-click the unit test class and select Test All
- Observe the Test Results window
Now let's learn how to submit a Java program to Web-CAT!
To help you get started with the BlueJ, a simple java program will be demonstrated step-by-step as the following: