Test run considerations for JUnit tests
Before you can run JUnit tests on HCL OneTest™ Server, you must read the considerations that you must take into account and complete the tasks indicated.
When you want to run JUnit tests, you must have completed the following tasks:
- You must ensure that the JUnit extension on HCL OneTest™ Server is enabled at the time of installation of the server software or is running before you add the repository that contains the JUnit tests to the server project. See Prerequisites for installing the server software on Red Hat OpenShift or Prerequisites for installing the server software on Ubuntu.
- You must have created the JUnit tests that use JDK 8, as part of a Maven V3.6.3 project. The Maven project must contain the Maven Surefire plugin, which is required to run the JUnit tests contained in the Maven project. The Maven project as a pom.xml must be committed to the remote repository.Note: If you create the JUnit tests on other versions of JDK, you must copy the JDK version to the userlibs pod under the data/junit-ext/jdks directory. See Copying third-party application Jars to Kubernetes.