This chapter introduced users to designing and building a DataProvider class using TestNG DataProvider features, along with the concept of encapsulating data in JSON file format. As we proceed further into data-driven test development, it will be important to have the DataProvider available for use when creating new test methods.
As we learned, the DataProvider method will sort data during extraction based on the test method name. Filters for including and excluding specific sets of data can also be added, and finally, users can "stuff" specific data like rowID and description into Java objects on the fly to be used later on for reporting purposes.
The next chapter will cover the data-driven test development model in respect to designing and building Java test classes, methods, and data files. The TestNG annotations will be used to specify which test methods are...