New answers tagged

3

Whatever the reason - if you check for 400 things in a loop you can only find 1 defect at a time because your test will throw an assertion error. I suggest using something like DataProvider from TestNG: @DataProvider Marks a method as supplying data for a test method. The annotated method must return an Object[][] where each Object[] can be assigned the ...


Top 50 recent answers are included