Software Testing: What It Is and What It Does?
- Get link
- X
- Other Apps
What Testing
Is · What
It Does.
Identify
cause.
Correct.
The process developers go through to identify the cause of bugs or defects in code and undertake corrections. Ideally some check of the correction is made, but may not extend to checking other areas.
Systematic
exploration.
Report.
A systematic exploration with the main aim of finding and reporting defects. Does not include correction — but ensures changes are checked for their effect on other parts of the system.
Before, during, and after.
We have already seen that there is much more to testing than test execution. Even more important is deciding what we are trying to achieve and setting clear objectives. A test designed to give confidence that a program functions correctly will be quite different from one designed to find as many defects as possible.
A test designed to give confidence is quite different from one designed to find defects.
Give
confidence.
A test designed to demonstrate that a program functions according to its specification. Seeks reassurance that the system works as intended.
Find
defects.
A test designed to find as many defects as possible. Actively probes weak points, edge cases, and failure modes. Destructive intent.
A good test is one that finds a defect if one is present.
It might seem paradoxical, but a test that finds no defect has consumed resources but added no value; a test that finds a defect has created an opportunity to improve the quality of the product.
How do we design tests that find defects? We actually do two things to maximise the effectiveness of the tests.
We do not miss critical steps.
- Get link
- X
- Other Apps