SQE 06part1
SQE 06part1
TESTING
SOFTWARE TESTING
Glenford Myers in his book “The Art of Software Testing” suggested the
following testing principles:
✓ A necessary part of a test case is a definition of the expected output or result.
✓ A programmer should avoid attempting to test his or her own program.
✓ Thoroughly inspect the results of each test.
✓ Test cases must be written for input conditions that are invalid and unexpected,
as well as for those that are valid and expected.
PRINCIPLES OF TESTING [1]
✓ Avoid throwaway test cases unless the program is truly a throwaway program.
✓ Do not plan a testing effort under the assumption that no errors will be found.
✓ The probability of the existence of more errors in a section of a program is
proportional to the number of errors already found in that section.
✓ Examining a program to see if it does not do what it is supposed to do is only half
the battle; the other half is seeing whether the program does what it is not
supposed to do.
SOFTWARE TESTING ACTIVITIES
❖ Test Planning
• Define a software test plan by specifying a test schedule for a test
process and its activities, as well as assignments test requirements
and items test strategy
❖ Test Design and Specification
• Conduct software design based well-defined test generation
methods.
• Specify test cases to achieve a targeted test coverage.
SOFTWARE TESTING ACTIVITIES
❖ Test Set up
• Testing Lab Space and tools (Environment Set-up)
• Test Suite Set-up
❖ Test Operation and Execution
• Run test cases manually or automatically
❖ Test Result Analysis and Reporting
• Report software testing results and conduct test result
analysis
SOFTWARE TESTING ACTIVITIES
❖ Problem Reporting
• Report program errors using a systematic solution
❖ Test Management and Measurement
• Manage software testing activities, control testing schedule, measure
testing, complexity and cost
❖ Test Automations
• Define software test tools
• Adopt and use software test tools
• Write software test scripts and facility
❖ Test Configuration Management
• Manage and maintain different versions of software test suites, test
environment and tools, and documents for various product versions.
TESTING METHODS
❖ Manual Testing
❖ Automated Testing
MANUAL TESTING
GlenFord Myers, “The Art of Software Testing” 2nd Edition, chapter 2 (article:
software testing principles)