Class RandomIdReporter

  • All Implemented Interfaces:
    org.testng.ISuiteListener, org.testng.ITestNGListener

    public class RandomIdReporter
    extends Object
    implements org.testng.ISuiteListener
    On finish, writes all identifiers used by this test suite into a file as specified by the identifiers-file parameter of defining TestNG descriptor. If no such parameter is defined, or is otherwise blank, then identifiers.txt is assumed.
    • Constructor Detail

      • RandomIdReporter

        public RandomIdReporter()
    • Method Detail

      • onStart

        public void onStart​(org.testng.ISuite suite)
        Specified by:
        onStart in interface org.testng.ISuiteListener
      • onFinish

        public void onFinish​(org.testng.ISuite suite)
        Specified by:
        onFinish in interface org.testng.ISuiteListener