This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Testing and the fly likes TestNG Groups or Categorisation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "TestNG Groups or Categorisation" Watch "TestNG Groups or Categorisation" New topic
Author

TestNG Groups or Categorisation

Arup Kumar
Greenhorn

Joined: Jun 19, 2008
Posts: 5
TestNG has an annotation which can read the parameter groups,
e.g @Test(groups = { "functest", "checkintest" })
and the test cases can be run based on the particular group.
If anyone could give me a few hints how, this happens in the TestNG code, it would be great.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31668
    
189

Arup,
You mean how it is implemented within TestNG?


[OCA 8 book] [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
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: TestNG Groups or Categorisation