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 learned about testng XML configuration files of TestNG to define different tests using classes, packages, and test methods. We also learned about how to include/exclude packages and test methods from a particular test.

We looked at how to use regular expressions to add particular packages and test methods to the methods based on matching names.

In the next chapter we will learn about different annotations provided by TestNG and how to use them.

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