Interface TestController
-
- All Known Implementing Classes:
TestSupport
public interface TestController
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestStatecurrentState()The current test statevoidrunAllTests()Runs all testsvoidrunFailedTests()re-runs all tests that are currently in a failed statevoidsetDisplayTestOutput(boolean displayTestOutput)Sets if test output should be displayed in the logsbooleantoggleBrokenOnlyMode()Toggles 'broken only' mode, where only failing tests are run
-
-
-
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:
trueif this change enabled broken only mode
-
-