public class JUnitSession extends Object
| Modifier and Type | Method and Description |
|---|---|
List<Browser> |
getBrowsers() |
DriverConfiguration |
getConfig() |
<T> T |
getDependency(Class<T> depencencyType) |
static JUnitSession |
getInstance() |
void |
runnerCompleted(STJSTestDriverRunner runner)
Called when the specified runner has finished executing all of its tests.
|
void |
runnerInstantiated(STJSTestDriverRunner runner)
Called when a runner has been instantiated.
|
void |
testCompleted(STJSTestDriverRunner runner,
org.junit.runners.model.FrameworkMethod method,
TestResultCollection result)
Called after a JUnit test has been executed by all the browsers
|
void |
testStarting(STJSTestDriverRunner runner,
org.junit.runners.model.FrameworkMethod method)
Called before a JUnit test is dispatched to the browsers.
|
public static JUnitSession getInstance()
public void runnerInstantiated(STJSTestDriverRunner runner) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorpublic void testStarting(STJSTestDriverRunner runner, org.junit.runners.model.FrameworkMethod method)
public void testCompleted(STJSTestDriverRunner runner, org.junit.runners.model.FrameworkMethod method, TestResultCollection result)
public void runnerCompleted(STJSTestDriverRunner runner)
public DriverConfiguration getConfig()
public <T> T getDependency(Class<T> depencencyType)
Copyright © 2015. All Rights Reserved.