Interface TestController
-
- All Known Implementing Classes:
TestSupport
public interface TestController
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestState
currentState()
The current test stateboolean
isBrokenOnlyMode()
boolean
isDisplayTestOutput()
boolean
isInstrumentationEnabled()
boolean
isLiveReloadEnabled()
void
printFullResults()
Print the current results and failuresvoid
runAllTests()
Runs all testsvoid
runFailedTests()
re-runs all tests that are currently in a failed statevoid
setDisplayTestOutput(boolean displayTestOutput)
Sets if test output should be displayed in the logsboolean
toggleBrokenOnlyMode()
Toggles 'broken only' mode, where only failing tests are runboolean
toggleInstrumentation()
Toggles instrumentation based reload.boolean
toggleLiveReloadEnabled()
Toggles instrumentation based reload.boolean
toggleTestOutput()
Toggles test output
-
-
-
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
-
-