Ctest4J is a practical configuration testing framework for Java. The goal of Ctest4J is to help developers write, run and maintain configuration tests easily and efficiently.
$ git clone https://github.com/xlab-uiuc/ctest4j.git && cd ctest4j
$ mvn clean install
Include the following dependency in your project build file:
<dependency>
<groupId>edu.illinois</groupId>
<artifactId>ctest4j-junit${junit-version}</artifactId> <!-- or ctest4j-testng -->
<version>${ctest4j-version}</version>
</dependency>
Current Ctest4J supports JUnit4 and 5, and TestNG.
Please follow the Guide to Support Ctest4J and Guide to Run Ctest with Ctest4J to run a simple Ctest example in Hadoop Common with Ctest4J.
Read the Features & Options to learn more about all the features that Ctest4J supports.
Follow the Guide to Write and Run CTest to write and run your own configuration tests.
- JUnit4
- JUnit5
- TestNG