Yes! The -check
option to jtreg
will find
test descriptions and will determine whether they are written according to the
tag specification. Tests
will not be executed.
The following sample output illustrates use of this option.
ribbit$ jtreg -verbose:summary -check Pass.java Fail.java Error.java Passed: Pass.java Passed: Fail.java Error: Error.java test results: passed: 2; error: 1 Report written to /u/iag/jtw/JTreport/report.html Results written to /u/iag/jtw/JTwork Error: some tests failed or other problems occurred