Class ExitCodeListener

    • Constructor Detail

      • ExitCodeListener

        public ExitCodeListener()
    • Method Detail

      • getStatus

        public ExitCode getStatus()
      • noTestsFound

        public boolean noTestsFound()
      • 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 before running all the test methods belonging to the classes inside the <test> tag and calling all their Configuration methods.
        Specified by:
        onStart in interface ITestListener
      • onFinish

        public void onFinish​(ITestContext context)
        Description copied from interface: ITestListener
        Invoked after all the test methods belonging to the classes inside the <test> tag have run and all their Configuration methods have been called.
        Specified by:
        onFinish in interface ITestListener