I have an existing test suite (for example, JUnit tests). What is required to run these tests in JT Harness?
The first step is to read the JavaTest Harness 4.2 Architect’s Guide to get a general understanding of the harness architecture and terminology. If you are running JUnit tests, the guide covers the procedure for running those types of tests with little or no modification. If you are running tests of a different format, you must generally create your own test finder and test runner classes. The harness uses these classes to find and run your tests. Both classes are subclassed from existing library classes. They can be passed to the harness by specifying them in your testsuite.jtt file. For more information consult the JavaTest Hareness 4.2 Architect’s Guide and ask questions on the JT Harness forum.
Related Questions
- I have an existing test suite (for example, JUnit tests). What is required to run these tests in JT Harness?
- My test suite needs some separate processes for the tests to run, can the harness start/stop them for me?
- Where should I start my conversion/creation of a JUnit test suite within the JT harness?