|
CoCoME System Tests | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
TestManager | This is a factory for the test driver. |
Exception Summary | |
---|---|
TestManagerException | This class is used to signal problems with the test manager and its setup. |
This package mainly acts as a super package for the CoCoME trading system tests. To apply these
tests to an implementation you have to write "glue code" which implements all interfaces in the
org.cocome.tradingsystem.systests.interfaces
package in a reasonable way. Then you can
run the test scenarios located in org.cocome.tradingsystem.systests.scenarios
using JUnit.
For details to both of these steps see the documentation of these packages.
To make the tests load the correct glue code, the entry point (which must implement
ITestDriver
)
is made public in a file named systests.properties containing a property named
test-driver.class and the full name of the test driver class as value. The location of
the file is either in the current working directory or a config subdirectory.
Management of this test driver (locating and loading the class) is handled by the
TestManager
.
|
CoCoME System Tests | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |