User Tools

Site Tools


junit-test-example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
junit-test-example [2008/10/12 10:38]
jtkorb
junit-test-example [2008/10/25 08:58] (current)
jtkorb
Line 63: Line 63:
     import java.io.PrintStream;​     import java.io.PrintStream;​
     import java.util.Scanner;​     import java.util.Scanner;​
 +
  
 ====== Command-Line JUnit Testing in UNIX ====== ====== Command-Line JUnit Testing in UNIX ======
Line 73: Line 74:
   - Run your test class using the text-based JUnit runner, ''​junit.textui.TestRunner''​.   - Run your test class using the text-based JUnit runner, ''​junit.textui.TestRunner''​.
  
-Here is a script, named ''​tester'',​ that compiles and runs a test class given as the command line argument.+Here is a script, named ''​javat'',​ that compiles and runs a test class given as the command line argument.
  
   #!/bin/sh   #!/bin/sh
junit-test-example.txt ยท Last modified: 2008/10/25 08:58 by jtkorb