Java TestNG Example

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


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *