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
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?


André AS
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29249
    
139

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: 29249
    
139

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?
 
Similar Threads
How does surefire work
most important feature in TestNG
How to have different data provides in TestNG
Wicket Filter form using Dataview/IDataProvider
Difference between Array and ArrayCollection ?