Package org.testng.annotations
package org.testng.annotations
-
ClassDescriptionRepresents a means to add in custom attributes to @
Test
annotated tests.Mark a method as supplying data for a test method.Marks a method as a factory that returns objects that will be used by TestNG as Test classes.This annotation specifies what Guice modules should be used to instantiate this test class.The parent interface for all the annotations.Encapsulate the @Configuration / @testng.configuration annotationEncapsulate the @DataProvider / @testng.data-provider annotationEncapsulate the @Factory / @testng.factory annotationAlternative of @Test(enabled=false)Encapsulate the @Ignore
annotationParent interface for annotations that can receive parameters.Encapsulate the @Parameters / @testng.parameters annotationEncapsulate the @Test / @testng.test annotation.This interface captures methods common to @Test and @ConfigurationThis annotation lets you define listeners directly on a test class instead of doing so in your testng.xml.Turn off TestNG injection for a parameter.Marks a method as the object factory to use for creating all test instances.Specifies that the current parameter is optional.Describes how to pass parameters to a @Test method.Mark a class or a method as part of the test.If this annotation is used on a parameter of a data provider, that parameter is the instance of the test method which is going to be fed by this data provider.