Test Plan
In the Project Management Plan you included a section on your quality plan. In most cases, that section made some reference to what types of testing you would accomplish to ensure quality development; however, it was too brief to actually plan the actions that would occur during testing. Rather its purpose was to remind you that it is necessary to allocate time in the project plan for testing and quality control. The purpose of the test plan is to make testing systematic. By doing so, you are likely to save time and cover more functions during testing.
Testing Principles:
| Make the formal technical review part of your test plan. If you can catch programming errors in the review, you'll save yourself a lot of time during implementation. | |
| The purpose of testing is to uncover errors, so work hard at thinking about what could go wrong. Use data that you ordinarily wouldn't expect (e.g. values out of range). | |
| Once again, the purpose of testing is to uncover errors, so design each of your test cases to look for some different kind of problem. If they all look for the same error, then perhaps some other error goes unnoticed. | |
| Begin testing at the unit (function, class, or component) level. Afterwards, test cooperating components. | |
| Keep your unit test cases available, so you can use them again after refactoring your code, or after integration of several components. | |
| Plan some tests from your documentation (does the application do what you say it will do: behavior, function, and performance. | |
| Plan to test your deployment. |
Test Plan Content: Consider developing the following document:
| Project Introduction: Identifies team, project purpose, application overview: these words can be the same taken from your SRD simply to provide minimal context for the reader. | |||||
| Test Strategy: Give a short (one to two paragraph or brief list) description of what activities and it what areas you will institute for testing (hint: most of these ideas can be found in the "principles" above). | |||||
Test Plan:
|
|||||
| Test Execution: If you keep you procedures and records streamlined and maintain your development discipline, then you will be well prepared to keep record of the outcome of your testing activities. This record becomes the "Test Execution" part of your test document. Of course, this record is built as you proceed through development. In longer term projects, however, these records are useful for measuring quality and providing feedback to the development process. |