← Quiz: TestNG: all 10 questions
Quiz: TestNG · Question 2 of 10
A @DataProvider returns 3 rows. How many times does the linked @Test run?
A @DataProvider returns 3 rows. How many times does the linked @Test run?
- A.Once
- B.Three times
- C.Six times
- D.It depends on the browser
Answer & explanation
Correct answer: Three times
Each row is a separate test result.
Can you get the rest right without peeking?
Take the timed Quiz: TestNG quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →