Month: July 2015

TestNG enabled example

In this post we will learn how to disable or ignore a test using @Test(enabled=false). Occasionally, we want to disable…

9 years ago

Maven Surefire plugin & TestNG

In this post we will learn how to execute TestNG tests with Maven using maven-surefire-plugin. This post also goes over…

9 years ago

TestNG Suites Example

In this post we will learn about TestNG Suite test. A Suite in TestNG is commonly represented by one XML…

9 years ago

TestNG Groups Example

In this post we will learn about how to use TestNG groups testing feature using @BeforeGroups, @AfterGroups and group exclusion.…

9 years ago

TestNG Annotations Example

In this post we will learn common TestNG annotations including @Test, @BeforeMethod, @AfterMethod, @BeforeClass, @AfterClass, @BeforeGroups, @AfterGroups, @BeforeSuite, @AfterSuite, @BeforeTest…

9 years ago

TestNG Hello World Example

In this post we will learn a very basic Hello World example using TestNG. We will learn how to setup…

9 years ago