Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I have an existing test suite (for example, JUnit tests). What is required to run these tests in JT Harness?

0
Posted

I have an existing test suite (for example, JUnit tests). What is required to run these tests in JT Harness?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123