Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the concept of TestNG @DataProvider?

 
André Asantos
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the concept of TestNG @DataProvider? Why to use? How to use?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34839
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Cedric Beust
author
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You probably mean the creator of TestNG :-)
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34839
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cedric Beust wrote:You probably mean the creator of TestNG :-)

Of course I did! Fixed and sorry about that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic