|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- type of generated random test instancespublic interface Characteristic<T>
A characteristic specifies an aspect of a system under test.
The characteristic stated is tested with a number of test data instances
generated by a generator. All runs of a characteristic's
specify(Object)
method have to be valid. Invalid runs
have to throw an exception.
Method Summary | |
---|---|
String |
name()
Unique name for this characteristic instance. |
void |
setUp()
Set up operation before specify(Object) is
executed. |
void |
specify(T instance)
Checks the characteristic's specification for a test case instance. |
void |
tearDown()
Clean up operation after specify(Object) was
executed. |
Method Detail |
---|
void specify(T instance) throws Throwable
instance
- for which to check the characteristic
Throwable
- if the instance does not confirm to the characteristic's
specificationvoid setUp() throws Exception
specify(Object)
is
executed.
Exception
void tearDown() throws Exception
specify(Object)
was
executed.
Exception
String name()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |