Interface TestController

  • All Known Implementing Classes:
    TestSupport

    public interface TestController
    • Method Detail

      • currentState

        TestState currentState()
        The current test state
      • runAllTests

        void runAllTests()
        Runs all tests
      • setDisplayTestOutput

        void setDisplayTestOutput​(boolean displayTestOutput)
        Sets if test output should be displayed in the logs
        Parameters:
        displayTestOutput -
      • runFailedTests

        void runFailedTests()
        re-runs all tests that are currently in a failed state
      • toggleBrokenOnlyMode

        boolean toggleBrokenOnlyMode()
        Toggles 'broken only' mode, where only failing tests are run
        Returns:
        true if this change enabled broken only mode
      • toggleTestOutput

        boolean toggleTestOutput()
        Toggles test output
        Returns:
        true if this change to test output mode
      • toggleInstrumentation

        boolean toggleInstrumentation()
        Toggles instrumentation based reload.
        Returns:
        true if this change to do instrumentation based reload
      • toggleLiveReloadEnabled

        boolean toggleLiveReloadEnabled()
        Toggles instrumentation based reload.
        Returns:
        true if this change to do instrumentation based reload
      • printFullResults

        void printFullResults()
        Print the current results and failures
      • isBrokenOnlyMode

        boolean isBrokenOnlyMode()
        Returns:
        true if broken only mode is enabled
      • isDisplayTestOutput

        boolean isDisplayTestOutput()
        Returns:
        true if test output is enabled
      • isInstrumentationEnabled

        boolean isInstrumentationEnabled()
        Returns:
        true if live reload is enabled
      • isLiveReloadEnabled

        boolean isLiveReloadEnabled()
        Returns:
        true if live reload is enabled