|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runner.Runner>
org.junit.runners.Suite
org.easetech.easytest.runner.BaseSuite
org.easetech.easytest.runner.OldSpringTestRunner
@Deprecated public class OldSpringTestRunner
A Spring based implementation of Suite that encapsulates the EasyTestRunner in order to provide users
with clear indication of which test method is run and what is the input test data that the method is run with. For
example, when a user runs the test method with name : getTestData with the following test data:
OldSpringTestRunner, will provide the details of the executing test method in the JUnit supported IDEs
like this:
EasyTestRunner
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.junit.runners.Suite |
|---|
org.junit.runners.Suite.SuiteClasses |
| Field Summary | |
|---|---|
protected static org.slf4j.Logger |
PARAM_LOG
Deprecated. An instance of logger associated with the test framework. |
| Fields inherited from class org.easetech.easytest.runner.BaseSuite |
|---|
methodsWithData, methodsWithNoData, runners, writableData |
| Constructor Summary | |
|---|---|
OldSpringTestRunner(Class<?> klass)
Deprecated. Construct a new OldSpringTestRunner. |
|
| Method Summary |
|---|
| Methods inherited from class org.easetech.easytest.runner.BaseSuite |
|---|
getChildren, isSupportsTransaction, registerConverter, setSupportsTransaction, withAfterClasses, withBeforeClasses |
| Methods inherited from class org.junit.runners.Suite |
|---|
describeChild, emptySuite, runChild |
| Methods inherited from class org.junit.runners.ParentRunner |
|---|
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods |
| Methods inherited from class org.junit.runner.Runner |
|---|
testCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.slf4j.Logger PARAM_LOG
| Constructor Detail |
|---|
public OldSpringTestRunner(Class<?> klass)
throws org.junit.runners.model.InitializationError
OldSpringTestRunner. During construction, we will load the test data, and then we will
create a list of EasyTestRunner. each instance of DataDrivenTestRunner in the list will
correspond to a single method in the Test Class under test.DataLoader annotation
at the class levelDataLoader annotation, it means that there is test data associated with the test
method.DataLoader annotation, then:
EasyTestRunner and make it use all the different types of methods we
identified.
klass - the test class
org.junit.runners.model.InitializationError - if an initializationError occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||