public class ConsoleRunnerImpl
extends java.lang.Object
JUnitCore with stream capture and junit-report xml output capabilities.| Modifier and Type | Class and Description |
|---|---|
static class |
ConsoleRunnerImpl.FailFastListener
A run listener that will stop the test run after the first test failure.
|
static class |
ConsoleRunnerImpl.FailFastRunner
A runner that wraps the original test runner so we can add a listener
to stop the tests after the first test failure.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addTestListener(org.junit.runner.notification.RunListener listener) |
static void |
main(java.lang.String[] args)
Launcher for JUnitConsoleRunner.
|
static void |
setCallSystemExitOnFinish(boolean exitOnFinish) |
public static void main(java.lang.String[] args)
args - options from the command linepublic static void setCallSystemExitOnFinish(boolean exitOnFinish)
public static void addTestListener(org.junit.runner.notification.RunListener listener)