Skip to content

Instantly share code, notes, and snippets.

@jweden
Created April 27, 2011 19:21
Show Gist options
  • Save jweden/944980 to your computer and use it in GitHub Desktop.
Save jweden/944980 to your computer and use it in GitHub Desktop.
Example of TestNG test with Requirements annotation
...
import weden.jason.qa.testNG.Requirements;
public class NewTest extends TestBase {
@Test(enabled = true, description = "5 Thread Search Query", dataProvider = "queries", invocationCount = 5, threadPoolSize = 5, groups = "specialFeature, perf, multiThread")
@Requirements(reqs = {"1", "2"})
public void concurrentDbaseQuery(final String testDescription, final String xmlToUse) throws InterruptedException {
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment