Professional Documents
Culture Documents
Part 12.
The following people attended LAWST 3: Chris Agruss, James Bach, Karla Fisher, David Gelperin, Kenneth Groder, Elisabeth Hendrickson, Doug Hoffman, III, Bob Johnson, Cem Kaner, Brian Lawrence, Brian Marick, Thanga Meenakshi, Noel Nyman, Jeffery E. Payne, Bret Pettichord, Johanna Rothman, Jane Stepak, Melora Svoboda, Jeremy White, and Rodney Wilson.
Copyright
2003
499
Copyright Notice
These slides are distributed under the Creative Commons License. In brief summary, you may make and distribute copies of these slides so long as you give the original author credit and, if you alter, transform or build upon this work, you distribute the resulting work only under a license identical to this one. For the rest of the details of the license, see http://creativecommons.org/licenses/by-sa/2.0/legalcode.
Copyright
2003
500
Definitions
The test planning documents include: The Testing Project Plan, which identifies classes of tasks and broadly allocates people and resources to them; High-level designs for test cases (individual tests) and test suites (collections of related tests); Detailed lists or descriptions of test cases; Anything else that you would put in a hard copy or virtual binder that documents the collection of test cases that you will develop and run. This collection of materials is sometimes called the test plan and sometimes called the test documentation.
Copyright
2003
501
Levels of Analysis
1-Variable Basic user interface verification Filters Many testers stop here, at the most superficial level of testing 2-Variable Shared or related filters Logical relationships among variables Multi-Variable The core problem is the vastness of the space of test cases. We need a sampling strategy.
Copyright
2003
502
Such as the testing objectives list later in the course notes Tables: A table organizes information in two dimensions
showing relationships between variables.
Such as boundary tables, decision tables, combination test tables Matrices: A matrix is a special type of table used for data
collection.
Copyright
2003
503
This table defines 6 standard configurations for testing. In later tests, the lab will set up a Config-1 system, a Config-2 system, etc., and will do its compatibility testing on these systems. The variables might be software or hardware choices. For example, Var 1 could be the operating system (V1-1 is Win 2000, V1-2 is Win ME, etc.) Var 2 could be how much RAM on the computer under test (V2-1 is 128 meg, V2-2 is 32 meg., etc.). Var 3 could be the type of printer, Var 4 the machines language setting (French, German, etc.). Config planning tables are often filled in using the All Pairs algorithm. 504 Black Box Software Testing Copyright 2003 Cem Kaner & James Bach
This matrix records the results of a series of tests against the 6 standard configurations that we defined in the Configuration Planning Table.
In this table, Config 1 has passed 3 tests, failed 1, and hasnt yet been tested with Test 2. Config 6 is still untested.
Copyright
2003
505
Copyright
2003
506
Scripting
COMPLETE SCRIPTING is favored by people who believe that repeatability is everything and who believe that with repeatable scripts, we can delegate to cheap labor. 1 ____ Pull down the Task menu 2 ____ Select First Number 3 ____ Enter 3 4 ____ Enter 2 5 ____ Press return 6 ____ The program displays 5
Copyright
2003
507
Check What to ? do
____ Pull down task menu
What to see
Task menu down
Design notes
This starts the blah blah test, with the blah blah goal
Observation notes
Copyright
2003
508
Copyright
2003
509
Copyright
2003
510
Scripting
Should we create scripts as pseudocode, in preparation for test automation?
Suggestion made at STAR 97 But most (88%) of bugs were found during creation of the scripts (my experience too).
Copyright
2003
511
Copyright
2003
Copyright
2003
513
Copyright
2003
514
Copyright
2003
515
Copyright
2003
516
Copyright
2003
517
2003
518
Requirements
There are many different notions of what a good set of test documentation would include. Before spending a substantial amount of time and resources, its worth asking what documentation should be developed (and why?) Test documentation is expensive and it takes a long time to produce. If you figure out some of your main requirements first, you might be able to do your work in a way that achieves them.
Copyright
2003
519
Asking questions Context-free questions Context-free questions specific to test planning Evaluating a plan
Copyright
2003
520
Discovering Requirements
Requirements Anything that drives or constrains design Stakeholders Favored, disfavored, and neutral stakeholders Stakeholders interests Favored, disfavored, and neutral interests Actions Actions support or interfere with interests Objects
Copyright
2003
521
The quality of testing depends on which of these possible missions matter and how they relate.
Many debates about the goodness of testing are really debates over missions and givens.
Copyright
2003
522
Who are the primary readers of these test documents and how important are they?
How much traceability do you need? What docs are you tracing back to and who controls them?
To what extent should test docs support tracking and reporting of project status and testing progress?
How well should docs support delegation of work to new testers?
What are your assumptions about the skills and knowledge of new testers?
Is test doc set a process model, a product model, or a defect finder? 524 Black Box Software Testing Copyright 2003 Cem Kaner & James Bach
Copyright
2003
525
Copyright
2003
526
Copyright
2003
527