Test parameters

Test method parameters will be discussed in greater detail later on in this chapter, but for naming conventions, the names for the required method parameters for this framework are as follows:

  • String rowID: The row ID of the datasets to extract from the JSON data file to pass into the method. Note, rowID used in the data file must be the same name as the method.
  • String description: The description of the test that will later be used by the test listener and/or reporter classes to annotate the results.
  • JSONObject testData: The test data object to pass into the method to run the test. This object will get built on the fly when using the JSON DataProvider attribute with the test method.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.27.232