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

Summary

In this chapter we have learned about the grouping of tests functionality provided by TestNG. As we can see this feature helps us in organizing our test execution by grouping tests into multiple sections based on feature, type of test, and so on.

We can create as many groups as we want in TestNG and include and exclude these groups in our tests based on the test requirement. Support of regular expressions and the creation of a group from other groups helps in including or excluding multiple groups from the test execution.

In the next chapter we will cover the dependency feature provided by TestNG. This feature helps in defining a dependency of a test method or a group of test methods on other test methods or a group. This gives the user ...

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