3. Getting Started

  1. What does a typical invocation of jtreg look like? How can I make sure that I can even run the JavaTest harness?
  2. Bleah! That verbose output is so long! Can I have something shorter?
  3. Are there abbreviations for these long options?
  4. How do I view what a test sends to System.out/System.err?
  5. What is a .jtr file?
  6. What are the report and work directories?
  7. What's the difference between the "fail" and "error" return status?
  8. If a test fails, I'd like to put all of my debugging information into the final result. How do I do that?
  9. I've heard that the jtreg has a GUI. How do I access that?
  10. Can I verify the correctness of test descriptions without actually running the tests?
  11. Can I generate reports for tests that have already been run?
  12. How do I run jtreg under Windows?
  13. Which should I use? MKS or Cygwin?
  14. How do I run only tests which were written for a specific bugid?
  15. How do I run only tests NOT requiring manual intervention?
  16. How do I run only tests requiring manual intervention?
  17. How do I specify VM options to the test's JVM?