Testing Framework
![[GIF]](../../pics/lines/gray_blue_line.gif)
Testing framework is design to perform testing of DuPont values and
different level "drill-downs". In the core of the framework is
the TestObject class. The class keeps both TestCriterion, which
virtually stores SelectionBoxValues, and a TestData collection, a collection of TestData subclass instances.
To test new kind of report values, it is necessary to perform the
following operations:
- Create a subclass of TestData named TestData. The class instances
should know how to create themselves.
- In the default portfolio(finmod.ptf) create a test TopTest for testing the new TestData subclass.
Aside from the TestObject, TestData subclasses, and TestCriterion, there are
several support classes: TestSelectionDialog, EqualityTestInfo, TestResultViewer. They are used for selecting tests from a TestData collection, storing test
result information, and viewing test results, respectively. See
each class for detailed descriptions.
Relevant classes and categories:
If you have any questions or changes, please contact:
Joseph W. Yoder at:(217) 244-4695 or by email:
yoder@ncsa.uiuc.edu

Return to Financial Model Documentation Page