Uses of Package
org.testng

Packages that use org.testng
  • Classes in org.testng used by org.testng
    Class
    Description
    This interface facilitates the use of Assert.expectThrows(java.lang.Class<T>, org.testng.Assert.ThrowingRunnable) from Java 8.
    This class maintains a map of <Class, List<ITestNGMethod>>.
     
    A holder class that is aimed at acting as a container for holding various different aspects of a data provider such as listeners/interceptors etc.,
    Implementations of this interface will gain access to the XmlSuite object and thus let users be able to alter a suite or a test based on their own needs.
     
    A trait that is used by all interfaces that lets the user add or remove their own attributes.
    IClass represents a test class and a collection of its instances.
     
    If a test class implements this interface, its run() method will be invoked instead of each configuration method found.
    Listener interface for events related to configuration methods.
    A parameter of this type will be passed to the run() method of a IConfigurable.
    This interface helps define an interceptor for data providers.
    A listener that gets invoked before and after a data provider is invoked by TestNG.
    Represents the attributes of a DataProvider annotated method.
    Represents the graphical representative capabilities of an entity.
     
    A TestNG listener that can be used to build graph representations of TestNG methods as and when they are being executed on a real-time basis.
    If a test class implements this interface, its run() method will be invoked instead of each @Test method found.
    A parameter of this type will be passed to the run() method of a IHookable.
    Allows customization of the Injector creation when working with dependency injection.
    An interface representing a method that has been invoked by TestNG.
    A listener that gets invoked before and after a method is invoked by TestNG.
    This interface captures a test method along with all the instances it should be run on.
    This class is used to alter the list of test methods that TestNG is about to run.
    An implementation of this interface is passed to all the Method Selectors when their includeMethod() is invoked.
    Deprecated.
    - This interface stands deprecated as of TestNG 7.5.0
    This interface can be implemented by clients to generate a report.
     
    Interface to implement to be able to have a chance to retry a failed test.
    Interface defining a Test Suite.
    Listener for test suites.
    This class represents the result of a suite run.
    This class represents a test class: The test methods The configuration methods (test and method) The class file Note that the methods returned by instances of this class are expected to be correct at runtime.
    This class defines a test context which contains all the information for a given test run.
    A listener for test running.
    This interface allows to modify the strategy used by TestRunner to find its test methods.
    This is a marker interface for all objects that can be passed as a -listener argument.
    Describes a TestNG annotated method and the instance on which it will be invoked.
    Parent interface of all the object factories.
    This class describes the result of a test.
    A factory for TestRunners to be used by SuiteRunners.
    The root exception for special skip handling.
    SuiteRunner is responsible for running all the tests included in one suite.
    A state object that records the status of the suite run.
    This class is the main entry point for running tests in the TestNG framework.
     
    The base class for all exceptions thrown by TestNG.
    This class takes care of running one Test.
     
  • Class
    Description
    Interface to implement to be able to have a chance to retry a failed test.
    This is a marker interface for all objects that can be passed as a -listener argument.
  • Classes in org.testng used by org.testng.internal
    Class
    Description
    A holder class that is aimed at acting as a container for holding various different aspects of a data provider such as listeners/interceptors etc.,
    A trait that is used by all interfaces that lets the user add or remove their own attributes.
    IClass represents a test class and a collection of its instances.
    If a test class implements this interface, its run() method will be invoked instead of each configuration method found.
    Listener interface for events related to configuration methods.
    Represents the attributes of a DataProvider annotated method.
    Represents the graphical representative capabilities of an entity.
     
    A listener used to monitor when a TestNG run starts and ends.
    A TestNG listener that can be used to build graph representations of TestNG methods as and when they are being executed on a real-time basis.
     
    If a test class implements this interface, its run() method will be invoked instead of each @Test method found.
    Allows customization of the Injector creation when working with dependency injection.
    This class defines a pair of instance/class.
    This interface captures a test method along with all the instances it should be run on.
    This interface is used to augment or replace TestNG's algorithm to decide whether a test method should be included in a test run.
    An implementation of this interface is passed to all the Method Selectors when their includeMethod() is invoked.
    This interface can be implemented by clients to generate a report.
     
    Interface to implement to be able to have a chance to retry a failed test.
    This class represents a test class: The test methods The configuration methods (test and method) The class file Note that the methods returned by instances of this class are expected to be correct at runtime.
    This class is used by TestNG to locate the test classes.
    This class defines a test context which contains all the information for a given test run.
    A listener for test running.
    This interface allows to modify the strategy used by TestRunner to find its test methods.
    This is a marker interface for all objects that can be passed as a -listener argument.
    A factory used to create instances of ITestNGListener.
    Describes a TestNG annotated method and the instance on which it will be invoked.
    Parent interface of all the object factories.
    This class describes the result of a test.
    The base class for all exceptions thrown by TestNG.
  • Class
    Description
     
    Interface to implement to be able to have a chance to retry a failed test.
    This is a marker interface for all objects that can be passed as a -listener argument.
    Describes a TestNG annotated method and the instance on which it will be invoked.
    Parent interface of all the object factories.
    This class describes the result of a test.
  • Class
    Description
    This class maintains a map of <Class, List<ITestNGMethod>>.
    A holder class that is aimed at acting as a container for holding various different aspects of a data provider such as listeners/interceptors etc.,
    IClass represents a test class and a collection of its instances.
     
    If a test class implements this interface, its run() method will be invoked instead of each configuration method found.
    A listener that gets invoked before and after a data provider is invoked by TestNG.
    Represents the attributes of a DataProvider annotated method.
     
    If a test class implements this interface, its run() method will be invoked instead of each @Test method found.
    An interface representing a method that has been invoked by TestNG.
    A listener that gets invoked before and after a method is invoked by TestNG.
    This interface captures a test method along with all the instances it should be run on.
    Interface defining a Test Suite.
    This class represents a test class: The test methods The configuration methods (test and method) The class file Note that the methods returned by instances of this class are expected to be correct at runtime.
    This class defines a test context which contains all the information for a given test run.
    Describes a TestNG annotated method and the instance on which it will be invoked.
    Parent interface of all the object factories.
    This class describes the result of a test.
    A state object that records the status of the suite run.
    Exception thrown when an exception happens while running a test method.
  • Class
    Description
    Allows customization of the Injector creation when working with dependency injection.
  • Class
    Description
    IClass represents a test class and a collection of its instances.
    Allows customization of the Injector creation when working with dependency injection.
    This class defines a test context which contains all the information for a given test run.
    Parent interface of all the object factories.
  • Class
    Description
    IClass represents a test class and a collection of its instances.
    This class defines a test context which contains all the information for a given test run.
  • Class
    Description
    This class defines a test context which contains all the information for a given test run.
    This class describes the result of a test.
    The base class for all exceptions thrown by TestNG.
  • Class
    Description
    Represents the graphical representative capabilities of an entity.
    Interface defining a Test Suite.
    Describes a TestNG annotated method and the instance on which it will be invoked.
  • Class
    Description
    Represents the graphical representative capabilities of an entity.
     
    Interface defining a Test Suite.
  • Classes in org.testng used by org.testng.junit
    Class
    Description
    IClass represents a test class and a collection of its instances.
    A listener that gets invoked before and after a method is invoked by TestNG.
    This class represents a test class: The test methods The configuration methods (test and method) The class file Note that the methods returned by instances of this class are expected to be correct at runtime.
    A listener for test running.
    This interface allows to modify the strategy used by TestRunner to find its test methods.
    Describes a TestNG annotated method and the instance on which it will be invoked.
    Parent interface of all the object factories.
    This class describes the result of a test.
  • Classes in org.testng used by org.testng.reporters
    Class
    Description
    Listener interface for events related to configuration methods.
    An interface representing a method that has been invoked by TestNG.
    This interface can be implemented by clients to generate a report.
     
    Interface defining a Test Suite.
    This class represents the result of a suite run.
    This class represents a test class: The test methods The configuration methods (test and method) The class file Note that the methods returned by instances of this class are expected to be correct at runtime.
    This class defines a test context which contains all the information for a given test run.
    A listener for test running.
    This is a marker interface for all objects that can be passed as a -listener argument.
    Describes a TestNG annotated method and the instance on which it will be invoked.
    This class describes the result of a test.
    This class is the main entry point for running tests in the TestNG framework.
  • Class
    Description
    This interface can be implemented by clients to generate a report.
    Interface defining a Test Suite.
    This class defines a test context which contains all the information for a given test run.
    This is a marker interface for all objects that can be passed as a -listener argument.
    This class describes the result of a test.
  • Class
    Description
    Describes a TestNG annotated method and the instance on which it will be invoked.
  • Classes in org.testng used by org.testng.thread
    Class
    Description
    Represents the graphical representative capabilities of an entity.
    Interface defining a Test Suite.
    Describes a TestNG annotated method and the instance on which it will be invoked.
  • Classes in org.testng used by org.testng.util
    Class
    Description
    Interface to implement to be able to have a chance to retry a failed test.
    This class describes the result of a test.
  • Classes in org.testng used by org.testng.xml
    Class
    Description
    Parent interface of all the object factories.
    The base class for all exceptions thrown by TestNG.