aspose file tools*
The moose likes Testing and the fly likes What is the concept of TestNG @DataProvider? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "What is the concept of TestNG @DataProvider?" Watch "What is the concept of TestNG @DataProvider?" New topic
Author

What is the concept of TestNG @DataProvider?

André Asantos
Ranch Hand

Joined: Nov 23, 2009
Posts: 234
What is the concept of TestNG @DataProvider? Why to use? How to use?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30352
    
150

It's a little like the Parameterized Test Case pattern in JUnit. See this DataProvider Test NG thread that discusses the @DataProvider. One of the posters is the creator of TestNG so it comes straight from the source!


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Cedric Beust
author
Ranch Hand

Joined: Oct 12, 2004
Posts: 46
You probably mean the creator of TestNG :-)
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30352
    
150

Cedric Beust wrote:You probably mean the creator of TestNG :-)

Of course I did! Fixed and sorry about that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the concept of TestNG @DataProvider?