This post illustrates some of the feature of TestNG. The code example is available at GitHub in the Java-TestNG directory. We use maven. Therefore, the configuration will located in the pom.xml.
Source Code
We use a very simple class returning integers for testing purposes:
public class Generate {
private Generate() { }
public static int aOne() {
return 1;
}
public
Leave a Reply