File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » Testing
Bookmark "TestNG Groups or Categorisation" Watch "TestNG Groups or Categorisation" New topic

TestNG Groups or Categorisation

Arup Kumar

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

Joined: May 26, 2003
Posts: 33102

You mean how it is implemented within TestNG?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: TestNG Groups or Categorisation
It's not a secret anymore!