|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Interface Summary | |
|---|---|
| Testable | A testable class is used to perform overall
functional tests, reporting the results to a
log using the Testable.test(Log, Arguments) method,
but is NOT meant as a replacement for unit testing,
for example using JUnit. |
| Class Summary | |
|---|---|
| AllTests | Executes all individual pattern tests. |
| IntegrityTests | Sequence integrity tests. |
Various tests.
The Testable interface defines
a simple and convenient way to test the overall functionality
of a given pattern, but is NOT meant as a replacement
of unit tests of individual packages and classes! The tests
performed by Testable classes normally have a higher
level or granularity.
All known testable classes can be tested using the
AllTests class, which tests each
registered Testable in turn.
To test Sequence behaviour,
the IntegrityTests class
can be used. It tests the general behaviour of all created
Sequence types.
|
Gunni Rode / rode.dk | ||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||