Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,274
Community Members
 
Community Events
168
Community Groups

What is Data Provider in TestNG?

DataProvider is a method in a class that returns a two dimensional an array of object (Object [ ][ ]) to the test method. The test method will be called m times in the m*n type of object array.

Where

    m ➨ The first array m represents the number of rows that has to be repeated your test m number of times.

     n ➨ The second array n represents a column that is the number of parameters in the test data. 

For more details: Data Provider in TestNG

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Off-topic

Don't F&*% the planet.

Over the weekend, Atlassian ran a New York Times ad calling on business leaders to join us in committing to a net zero future through the Science-Based Targets Initiative. As part of our gl...

1,644 views 10 55
Read article

Atlassian Community Events