In the previous chapter we had learned about TestNG, its features, how to set it up and run it through Eclipse. In this chapter we will learn about
testng.xml, the main configuration file of TestNG used to define suites, tests, and configure TestNG.
In this chapter we'll cover the following topics:
testng.xml is a configuration file for TestNG. It is used to define test suites and tests in TestNG. It is also used to pass parameters to test methods, which we will discuss under the Parameterization of ...