junit-test-example
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
junit-test-example [2008/10/12 10:37] – jtkorb | junit-test-example [2008/10/25 08:58] (current) – jtkorb | ||
---|---|---|---|
Line 1: | Line 1: | ||
**Updates** | **Updates** | ||
- | * Project 3 neither reads from standard input nor writes gradeable text to standard output, so the mechanism below to redirect these two streams to files is not necessary for this project. | + | * Project 3 neither reads from standard input nor writes gradeable text to standard output, so the mechanism below to redirect these two streams to files is not necessary for this project. |
* For command-line testing in the UNIX/Linux environment, | * For command-line testing in the UNIX/Linux environment, | ||
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, '' | - Run your test class using the text-based JUnit runner, '' | ||
- | Here is a script, named '' | + | Here is a script, named '' |
#!/bin/sh | #!/bin/sh |
junit-test-example.1223833047.txt.gz · Last modified: 2008/10/12 10:37 (external edit)