Created
April 27, 2011 19:21
-
-
Save jweden/944980 to your computer and use it in GitHub Desktop.
Example of TestNG test with Requirements annotation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
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