Better Software - April 2008 - (Page 46) by Robert Sabourin I am always on the lookout for new testing ideas. Some of the most valuable test ideas come to mind when I am actually testing. Here is a list of ten sources of test ideas I use on Just-in-Time (JIT) testing projects. CAPABilities. Capability-based test ideas focus on confirming that an application does what it is supposed to do. Requirement and functional specifications can be used as a source of capability-based testing ideas. FAilure Modes. Failure mode-based test ideas are “what if” questions that often are inspired by how a system is designed. I look at all of the objects, components, and interfaces in a system and ask myself, what if they break or exhibit some sort of unanticipated failure. Failure modes can be the result of harshly constrained system resources or forced error conditions. QuAlity FACtors. Quality factors are characteristics of a system that must be present for the project to be successful. Quality factors are the “ilities” including: usability, reliability, availability, scalability, and maintainability. Quality factor test ideas often involve experiments to determine if a quality factor is present. Examples include performance, load, and stress testing. usAge sCenArios. A usage scenario test idea challenges whether a user can achieve his tasks with the software under test. To paraphrase the Kennedy inaugural address—we ask not what the software does for the user, but rather we ask what the user does with the software. Usage scenario-based test ideas involve identifying who is using the system, what he is trying to achieve, and in what context. CreAtive ideAs. Creative test ideas come from many sources. I often use deliberate lateral thinking techniques (for example, Edward De Bono’s Six Thinking Hats) to come up with cool and effective tests. I also use metaphors to come up with testing ideas. I wonder what would happen if the Tasmanian Devil used the system. Perhaps a Dr. Seuss story inspires some testing ideas. Perhaps great detectives or movies. Pretty much anything goes here. stAtes. When testing an application, a state model helps me come up with test ideas. For example, a transaction goes through many states of existence from creation through approval, payment, and delivery. I use state models to identify test ideas such as getting to states, exercising state transitions, and navigating paths through the system. dAtA. Data is a rich source of testing ideas. Data flow paths can be exercised, different data sets can be used, data can be cooked up and built from combinations of different data types, and stored procedures can be verified. Test ideas can be developed to create, update, and remove any persistent data. environMents. Exploring how the application behaves in different operating environments is a rich source of testing ideas. Environment test ideas can relate to varying the platform, hardware, software, operating system, coresident third-party software, and locales. white Box. White box test ideas come from reviewing low-level design, code, and data schemas. White box test ideas include exercising the code, decisions, and paths through the program. White box test ideas look at the work products of developers to find ways to challenge the application under test. tAxonoMies. One of my favorite sources of test ideas is bug taxonomies. These are organized, documented collections of bugs. I peruse taxonomies randomly in search of interesting bugs. If the bug could happen in my application, I come up with a test idea to expose it. Three taxonomies I often use are: • Appendix A of Testing Computer Software (Kaner, Falk, and Nguyen) • Boris Beizer Taxonomy (Otto Vinter) • Shopping Cart Taxonomy (Giri Vijayaraghavan) 46 BETTER SOFTWARE APRIL 2008 www.StickyMinds.com http://www.StickyMinds.com
Table of Contents Feed for the Digital Edition of Better Software - April 2008 Better Software - April 2008 Contents Mark Your Calendar Contributions eLightenment Technology Speaking - A Change Would Do You Good Code Craft - A "D" In Programming, Part 1 Test Connection - Learning the Hardware Lessons Management Chronicles - The Art of Persuading Management Cover Story - Incremental and Iterative Development Developers...Start Your Engines Where Do I Go From Here Product Announcements 10 Things You Might Not Know About... The Last Word - Software Quality and the Prisoner's Dilemma Ad Index Better Software - April 2008 Better Software - April 2008 - (Page Intro) Better Software - April 2008 - Better Software - April 2008 (Page Cover1) Better Software - April 2008 - Better Software - April 2008 (Page Cover2) Better Software - April 2008 - Better Software - April 2008 (Page 1) Better Software - April 2008 - Better Software - April 2008 (Page 2) Better Software - April 2008 - Contents (Page 3) Better Software - April 2008 - Mark Your Calendar (Page 4) Better Software - April 2008 - Mark Your Calendar (Page 5) Better Software - April 2008 - Contributions (Page 6) Better Software - April 2008 - Contributions (Page 7) Better Software - April 2008 - eLightenment (Page 8) Better Software - April 2008 - eLightenment (Page 9) Better Software - April 2008 - eLightenment (Page 10) Better Software - April 2008 - eLightenment (Page 11) Better Software - April 2008 - eLightenment (Page 12) Better Software - April 2008 - Technology Speaking - A Change Would Do You Good (Page 13) Better Software - April 2008 - Code Craft - A "D" In Programming, Part 1 (Page 14) Better Software - April 2008 - Code Craft - A "D" In Programming, Part 1 (Page 15) Better Software - April 2008 - Code Craft - A "D" In Programming, Part 1 (Page 16) Better Software - April 2008 - Code Craft - A "D" In Programming, Part 1 (Page 17) Better Software - April 2008 - Test Connection - Learning the Hardware Lessons (Page 18) Better Software - April 2008 - Test Connection - Learning the Hardware Lessons (Page 19) Better Software - April 2008 - Management Chronicles - The Art of Persuading Management (Page 20) Better Software - April 2008 - Management Chronicles - The Art of Persuading Management (Page 21) Better Software - April 2008 - Management Chronicles - The Art of Persuading Management (Page 22) Better Software - April 2008 - Management Chronicles - The Art of Persuading Management (Page 23) Better Software - April 2008 - Cover Story - Incremental and Iterative Development (Page 24) Better Software - April 2008 - Cover Story - Incremental and Iterative Development (Page 25) Better Software - April 2008 - Cover Story - Incremental and Iterative Development (Page 26) Better Software - April 2008 - Cover Story - Incremental and Iterative Development (Page 27) Better Software - April 2008 - Cover Story - Incremental and Iterative Development (Page 28) Better Software - April 2008 - Cover Story - Incremental and Iterative Development (Page 29) Better Software - April 2008 - Developers...Start Your Engines (Page 30) Better Software - April 2008 - Developers...Start Your Engines (Page 31) Better Software - April 2008 - Developers...Start Your Engines (Page 32) Better Software - April 2008 - Developers...Start Your Engines (Page 33) Better Software - April 2008 - Developers...Start Your Engines (Page 34) Better Software - April 2008 - Developers...Start Your Engines (Page 35) Better Software - April 2008 - Where Do I Go From Here (Page 36) Better Software - April 2008 - Where Do I Go From Here (Page 37) Better Software - April 2008 - Where Do I Go From Here (Page 38) Better Software - April 2008 - Where Do I Go From Here (Page 39) Better Software - April 2008 - Where Do I Go From Here (Page 40) Better Software - April 2008 - Where Do I Go From Here (Page 41) Better Software - April 2008 - Where Do I Go From Here (Page 42) Better Software - April 2008 - Product Announcements (Page 43) Better Software - April 2008 - Product Announcements (Page 44) Better Software - April 2008 - Product Announcements (Page 45) Better Software - April 2008 - 10 Things You Might Not Know About... (Page 46) Better Software - April 2008 - The Last Word - Software Quality and the Prisoner's Dilemma (Page 47) Better Software - April 2008 - Ad Index (Page 48) Better Software - April 2008 - Ad Index (Page Cover3) Better Software - April 2008 - Ad Index (Page Cover4)
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.