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

What this book covers

Chapter 1, Getting Started, explains TestNG and its advantages over other existing frameworks. It also explains how to install and run your first TestNG test.

Chapter 2, Understanding testng.xml, explains the testng.xml file which is used to configure the TestNG tests. It also explains different ways to create test suites by adding test packages, test classes, and test methods to the respective test suite, according to test needs.

Chapter 3, Annotations, explains the various annotations in TestNG and the different features supported by using them.

Chapter 4, Groups, explains the grouping feature provided by TestNG and how you can use it to include or exclude a group of tests in test execution.

Chapter 5, Dependencies, explains ...

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