Test suite design
Test suite design
- Test suite directory organization
The whole test suite is usually in a subdirectory named testsuite. Under the testsuite subdirectory, there is usually a lib subdirectory for commonly shared proceduresUnder the testsuite subdirectory, there is usually a config subdirectory for the tool init filesUnder the testsuite subdirectory, there is usually several subdirectories that hold the test driver and the test cases.
- Test case design
Need definitive results from the case
- What the test driver has to do
The test driver is the code that sets up the testing environment, and executes each test case.
- Types of test drivers
Keyword searchingStandardized test casesComparing output files