Answers for "What are @Factory and @DataProvider annotation?"

0

What are @Factory and @DataProvider annotation?

● @Factory → executes all the test methods present inside 
a test class using a separate instance of the class with 
different set of data
● @DataProvider → a test method that uses dataProvider 
will be executed the specific methods multiple number of
times based on the data provided by the dataProvider
Posted by: Guest on June-16-2021

Code answers related to "What are @Factory and @DataProvider annotation?"

Browse Popular Code Answers by Language