|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Framework
Interface implemented by test frameworks.
Method Summary | |
---|---|
Fingerprint[] |
fingerprints()
An array of Fingerprint s that specify how to identify test classes during
discovery. |
java.lang.String |
name()
A human-friendly name of the test framework that this object represents. |
Runner |
runner(java.lang.String[] args,
java.lang.String[] remoteArgs,
java.lang.ClassLoader testClassLoader)
Initiates a run. |
Method Detail |
---|
java.lang.String name()
Fingerprint[] fingerprints()
Fingerprint
s that specify how to identify test classes during
discovery.
Runner runner(java.lang.String[] args, java.lang.String[] remoteArgs, java.lang.ClassLoader testClassLoader)
If a client invokes this method before a previously initiated run has completed,
the test framework may throw IllegalStateException
to indicate it
cannot perform the two runs concurrently.
args
- the test-framework-specific arguments for the new runremoteArgs
- the test-framework-specific remote arguments for the run in a forked JVMtestClassLoader
- a class loader to use when loading test classes during the run
Runner
representing the newly started run.
java.lang.IllegalStateException
- if the test framework is unable to initiate a run because it is
already performing a previously initiated run that has not yet completed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |