O'Reilly logo

TestNg Beginner's Guide by Varun Menon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating multiple tests

Earlier we had created a simple testng.xml file with a single test in a suite. TestNG allows you to define multiple test sections in a single suite. This helps you in segregating your tests and creating different tests based on modules, features, type of test (integration or unit), and so on.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required