Why Is testing Necessary? Flashcards
What can failed software result in?
Financial Loss. Wasted Time. Loss of reputation. Injury or death. (Or May have an insignificant effect).
What does testing reduce the risk of?
Software failure
3 causes of software defects
Errors. Defects. Failure.
What is an error?
A human action that produces an incorrect result
What is a defect?
A flaw in the system that can cause it to fail to perform its required function
What is a failure?
Deviation of a system from its expected delivery, service or result. Could also be caused by data, hardware or environmental condition.
What can a failure be caused by?
It’s a deviation of the system from its expected delivery, service or result. Can also be caused by data, hardware or environmental,
What is a testers job?
To expose defects by causing a failure before the software gets to production
3 areas of software cycle that requires testing
Software development, maintenance and operations
The quality of the software system increases when a defect is
Found and fixed
Define quality
The extent of which a component, system or process meets specified requirements and or/user needs and expectations.
How can you measure quality?
Number of defects found, usability, maintain ability, reliability
What is reliability?
Number of failures in a given time period
How much testing is enough testing?
Context dependent, level of risk
What is testing?
The process of all life cycle activities, both static and dynamic concerning planning, preperation, and evaluation of software products to determine that they satisfy specified requirements, to demonstrate they are fit for purpose and detect defects
Test activities exist before and after test execution
Planning and Control. Identify test condition. Design test cases. Implement completion criteria. Report on test process. Closure,
5 testing objectives.
Find defects. Meet business requirement. Gain confidence about the level of quality. Provides info for decision making. Prevent defects.
What is debugging?
Development activity that identifies the cause of a defect, repairs the code and checks that the defect has been fixed correctly.
What does testing show?
Failures that are caused by defects.
Who debugs?
Developers debug.
In dynamic testing, the tester observed a failure then does what????? As a developer then debugges(investigated and fix and checks) then they report it and WHAT happens next?
Report incident. Detest to confirm failure no longer occurs.
What are the 7 testing principles?
Presence of defects. Early Testing. Exhaustive testing is impossible. Defect clustering. Pesticide paradox. Testing is context dependent. Absence of errors fallacy.