What Testing Is And What Testing Does
- Get link
- X
- Other Apps
What Testing Is
And What Testing
Does.
Attempting to show that it does not fulfil its intended purpose.
Testing is the systematic and methodical examination of a work product using a variety of techniques, with the express intention of attempting to show that it does not fulfil its desired or intended purpose.
This is undertaken in an environment that represents most nearly that which will be used in live operation.
Systematic: It has to be planned.
Methodical: It is a process.
Work product: It is not just code that is examined.
Variety of techniques: Different approaches are required.
Not all testing has the same aim.
Four terms that define the test process.
Test basis
The body of knowledge used as the basis for test analysis and design. Usually written down in requirements or interface definitions. It is the starting point for what to test.
Test condition
An aspect of the test basis that is relevant to achieve specific test objectives. Descriptions of what should happen under certain circumstances as a consequence of previous actions.
Test case
A set of preconditions, inputs, actions, expected results and postconditions, developed based on test conditions. Describes specific values to enter and the expected outcome.
Test procedure
A sequence of test cases in execution order, and any associated actions required to set up initial pre-conditions and wrap up activities post execution.
Testing finds. Debugging fixes.
Identify. Correct. Check.
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 to ensure other areas were not inadvertently affected.
Explore. Report. Verify.
A systematic exploration of a component or system with the main aim of finding and reporting defects. Testing does not include correction—it passes defects to developers. It ensures changes are checked for system-wide effects.
Similar defects can have completely different root causes.
Root Cause
Why it came about. An incorrect understanding by the business lead of how long-term interest rates are to be calculated.
The Defect
What is wrong. An incorrect calculation of interest rates in the system logic.
The Effect
What happened. An angry customer who is charged too much money on their account.
Testing is part of Quality Control.
Testing is part of Quality Control, which itself is part of Quality Management. Quality Assurance is about making sure processes are undertaken correctly to increase the likelihood of a better end product.
Quality Control is about seeing whether the desired level of quality is being achieved. Checking quality can be undertaken in ways other than testing (e.g. questionnaires).
Quality Assurance (QA)
Making sure processes are undertaken correctly. If processes are right, the end product will likely be better.
Quality Control (QC)
Checking whether the desired level of quality is achieved. Testing is a component of QC.
Test as early as possible.
No code execution.
Failures often begin with a human error in a document. Static testing (like reviews) removes ambiguities and faults from specifications. Errors are much cheaper to fix than defects or failures.
Code exercised.
The kind of testing that exercises the program under test with test data. We speak of test execution in this context. It checks the behaviour of the running software.
A good test is one that finds a defect.
- Get link
- X
- Other Apps
Comments
Post a Comment