Test framework checklist
Follow these steps when you create a test:
- Identify the types of operations you want to test.
- Derive your test class from the appropriate Test framework class.
- Override the Test function in your test class.
- Override Setup and Cleanup functions, if necessary.
- Override the inherited TTest member functions with your data members.
The member functions you need to override are:
- operator<<=
- operator>>=
- IsEqual
- Hash
- Compile and link your test into a shared library.
- When you are ready to perform the test, use the RunTest application.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker