Class ExitCodeListener

    • Constructor Detail

      • ExitCodeListener

        public ExitCodeListener()
    • Method Detail

      • getStatus

        public ExitCode getStatus()
      • hasTests

        public boolean hasTests()
      • generateReport

        public void generateReport​(java.util.List<XmlSuite> xmlSuites,
                                   java.util.List<ISuite> suites,
                                   java.lang.String outputDirectory)
        Description copied from interface: IReporter
        Generate a report for the given suites into the specified output directory.
        Specified by:
        generateReport in interface IReporter
      • onTestStart

        public void onTestStart​(ITestResult result)
        Description copied from interface: ITestListener
        Invoked each time before a test will be invoked. The ITestResult is only partially filled with the references to class, method, start millis and status.
        Specified by:
        onTestStart in interface ITestListener
        Parameters:
        result - the partially filled ITestResult
        See Also:
        ITestResult.STARTED
      • onStart

        public void onStart​(ITestContext context)
        Description copied from interface: ITestListener
        Invoked after the test class is instantiated and before any configuration method is called.
        Specified by:
        onStart in interface ITestListener
      • onFinish

        public void onFinish​(ITestContext context)
        Description copied from interface: ITestListener
        Invoked after all the tests have run and all their Configuration methods have been called.
        Specified by:
        onFinish in interface ITestListener