Effective Software Test Automation: Developing an Automated Software Testing Tool
—Gregory V. Wilson, Dr. Dobbs Journal (October 2004)
Build Your Own Automated Software Testing Tool
Whatever its claims, commercially available testing software is not automatic. Configuring it to test your product is almost as time-consuming and error-prone as purely manual testing.
There is an alternative that makes both engineering and economic sense: building your own, truly automatic tool. Inside, you'll learn a repeatable, step-by-step approach, suitable for virtually any development environment. Code-intensive examples support the book's instruction, which includes these key topics:
- Conducting active software testing without capture/replay
- Generating a script to test all members of one class without reverse-engineering
- Using XML to store previously designed testing cases
- Automatically generating testing data
- Combining Reflection and CodeDom to write test scripts focused on high-risk areas
- Generating test scripts from external data sources
- Using real and complete objects for integration testing
- Modifying your tool to test third-party software components
- Testing your testing tool
Effective Software Test Automation goes well beyond the building of your own testing tool: it also provides expert guidance on deploying it in ways that let you reap the greatest benefits: earlier detection of coding errors, a smoother, swifter development process, and final software that is as bug-free as possible. Written for programmers, testers, designers, and managers, it will improve the way your team works and the quality of its products.
Chapter 1: Software Testing: An Overview.
Chapter 2: Current Testing Infrastructure vs. the Proposed Testing Methods.
Chapter 3: .NET Namespaces and Classes for Software Testing.
Chapter 4: .NET Reflection for Test Automation.
Chapter 5: Spreadsheets and XML for Test Data Stores.
Chapter 6: .NET CodeDom Namespace.
Chapter 7: Generating Test Scripts.
Chapter 8: Integration Testing.
Chapter 9: Verification, Validation, and Presentation.
Chapter 10: Finalizing the AutomatedTest Tool.
Chapter 11: Updating the AutomatedTest Tool for Testing the Windows Registry.
Chapter 12: Testing the AutomatedTest Tool.