|
|
@@ -383,7 +383,7 @@ start the application from that directory and these files will included into the |
|
|
|
<a name="junit"> |
|
|
|
<h2>Testing the class</h2> |
|
|
|
<p>In this step we will introduce the usage of the JUnit [3] testframework in combination with Ant. Because Ant |
|
|
|
has a build-in JUnit 3.8.1 you could start directly using it. Write a test class in <tt>src\HelloWorldTest.java</tt>: </p> |
|
|
|
has a built-in JUnit 3.8.2 you could start directly using it. Write a test class in <tt>src\HelloWorldTest.java</tt>: </p> |
|
|
|
|
|
|
|
<pre class="code"> |
|
|
|
public class HelloWorldTest extends junit.framework.TestCase { |
|
|
@@ -506,4 +506,4 @@ need the HTML report just for testing, e.g. if you are fixing an error or a inte |
|
|
|
<p align="center">Copyright © 2005-2006 The Apache Software Foundation. All rights Reserved.</p> |
|
|
|
|
|
|
|
</body> |
|
|
|
</html> |
|
|
|
</html> |