Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Data provider using junit

@DataProvider
public static Object[][] testExampleProvider() {
    return new Object[][]{
        {"param1", "param2", number1}
        {"param1", "param2", number1}
        //You can put as many parameters as you want
    };
}
Source by sodocumentation.net #
 
PREVIOUS NEXT
Tagged: #Data #provider #junit
ADD COMMENT
Topic
Name
7+8 =