CMU-SE 303 - Software Testing - 2020F - Lecture Slides - 6
CMU-SE 303 - Software Testing - 2020F - Lecture Slides - 6
Objectives
© 2009, CMU-ISR 2
1
09/09/2020
When to test configuration: The core task of configuration testing is to reduce hardware
• In general, we schedule configuration testing after the configuration combinations because:
baseline of function testing in the system testing phase. • It is not practical to perform a complete configuration testing
Otherwise, it is much harder to determine whether the • A windows online game program support
defect lies in software or hardware.
• 350 possible display card
Steps • 200 sound card, 800 modems
• Identify hardware combination • 1200 printers
• Design the test cases to run on each configuration there should be 350*200*800*1200 combinations
• Conduct the tests on each configuration • You may conduct a certain number of test cases on these
• Fix defects and verify modifications different configurations. The number of total test cases could be
• Report results larger.
Steps to size up your configuration testing: Determine the types of hardware you need by:
• Determine the types of hardware you need. • Asking yourself what kind of hardware you need.
• Determine what hardware brands, models and device drivers • Identifying the critical hardware to your software.
are available. • Examining your software feature carefully to ensure
• Determine which hardware features, modes and options are everything is included.
possible.
Determine what hardware brands, models and device
• Write down the identified hardware configuration. drivers are available.
• Identify your unique software features that work with the • Determine proper devices
hardware configuration.
• Identify equivalent devices
• Determine device drivers included with:
1. Operation system
2. The device
3. Latest drivers available for the hardware or operating system
• Hardware that your customers have
2
09/09/2020
3
09/09/2020
Approach
• Perform the exact same operation that caused the problem,
step by step on another computer with a different hardware
setup. If the defect doesn’t occur, it may be that you have a
configuration problem.
4
09/09/2020
1. Classify the identified software by applying an 2. Low-Level standards and guidelines: details of your
equivalence partition. products such as file formats, communication protocols
and so on.
(to be continued)
5
09/09/2020
Summary
Configuration testing and compatibility testing are two similar
testing processes. Configuration testing supports hardware while
compatibility testing supports software.
Many project teams combine configuration testing with
compatibility testing.
The common steps of the two testing processes are:
1. Identify needed hardware/software
2. Design test cases
3. Run test cases
4. Fix defects and verify modifications
5. Report results
© 2009, CMU-ISR 23