Chapter 12
Testing Your Application
Describes how to build applications that are easy to test and how to design appropriate tests.
- Introduction
- Designing Applications that Support Testing
- Guidelines for Testability
- Use Modularity to Constrain Testing Scope
- Build Upon Proven Modules Where Possible
- Always Develop Written Specifications
- Make All Interfaces Programmatically Accessible
- Constrain Concurrency and Asynchronicity
- Use Strong Typing
- Design Error Handling Reliably
- Establish and Follow Coding Standards and Guidelines
- Guidelines for Writing Self-Documenting Code
- Always Use Accurate and Descriptive Names
- Use the Public-Private Naming Convention
- Make Type Declarations as Precise as Possible
- Organize Your Module
- Include Well-Selected Comments
- Testing Incrementally During the Implementation Phase
- Developing Test Suites During the Deployment Phase
- Testing for Regressions During Software Upgrades
Copyright © 1997 Gensym Corporation, Inc.