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.