From e9a360d5a2c59a6ef55cd0614034ec9b7df19985 Mon Sep 17 00:00:00 2001
From: Gintas Grigelionis In this step we will introduce the usage of the JUnit [3] test framework in combination with Ant. Because Ant has a
-built-in JUnit 4.12 you could start directly using it. Write a test class in src\HelloWorldTest.java:Testing the class
package oata; @@ -383,9 +384,9 @@ public class HelloWorldTest { }-
Because we don't have real business logic to test, this test class is very small: just show how to start. For further -information see the JUnit documentation [3] and the manual of junit task. Now we add a -junit instruction to our buildfile:
+Because we don't have real business logic to test, this test class is very small: just showing how to start. For
+further information see the JUnit documentation [3] and the manual of junit task. Now we
+add a junit
code> instruction to our buildfile:
... @@ -434,7 +435,7 @@ junit: BUILD SUCCESSFUL ...-
We can also produce a report. Something that you (and others) could read after closing the shell .... There are two +
We can also produce a report. Something that you (and others) could read after closing the shell ... There are two
steps: 1. let <junit>
log the information and 2. convert these log files to something readable
(browsable).