Interface CurrentTestHolder

    • Field Detail

      • IGNORED_SUITES

        static final List<String> IGNORED_SUITES
    • Method Detail

      • testFinished

        void testFinished​(int flowId)
      • getCurrentTest

        @Nullable
        TestInfo getCurrentTest​(int flowId)
      • getLatestTest

        TestInfo getLatestTest​(int flowId)
        Parameters:
        flowId -
        Returns:
        latest test in the flow even if the test has finished. Return null when flow is released
      • releaseFlow

        void releaseFlow​(int flowIdToRelease)
      • suiteStarted

        void suiteStarted​(int flowId,
                          String suiteName)
      • getCurrentSuite

        @Nullable
        String getCurrentSuite​(int flowId)
      • hasSuites

        boolean hasSuites​(int flowId)
      • suiteFinished

        void suiteFinished​(int flowId,
                           String suiteName)
      • suitesFinished

        void suitesFinished​(int flowId)
      • getTestName

        String getTestName​(@NotNull
                           String testName,
                           int flowId)
        This method creates test name and prepends suite name, if needed
      • updateTestName

        TestInfo updateTestName​(@NotNull
                                TestInfo currentTest,
                                @NotNull
                                String newTestName,
                                int flowId)