📜  什么是 @Factory 和 @DataProvider 注解? - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:11.333000             🧑  作者: Mango

代码示例1
● @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