Interface Reporter<R>

  • Type Parameters:
    R - the report generic type

    public interface Reporter<R>
    The reporter defines a set of callback for the life cycle events.
    Author:
    Julien Viet
    • Method Detail

      • reportBeginTestSuite

        R reportBeginTestSuite​(String name)
        Signals the test suite began.
        Parameters:
        name - the test suite name
        Returns:
        the report object
      • reportBeginTestCase

        void reportBeginTestCase​(R report,
                                 String name)
        Signals a test case began.
        Parameters:
        report - the report
        name - the test case name
      • reportEndTestCase

        void reportEndTestCase​(R report,
                               String name,
                               TestResult result)
        Signals a test case ended.
        Parameters:
        report - the report
        name - the test case name
        result - the test case result
      • reportEndTestSuite

        void reportEndTestSuite​(R report)
        Signals a test suite ended.
        Parameters:
        report - the report