Fundamentals of Testing Flashcards
Why do we Test?
Software is everywhere, and failed software may resullt in financial loss, wasted time, loss of reputation or injury or death. Testing reduces the risk of software failure.
What are causes of software defects?
Error, defect, and failure
What is an error?
A human action that produces an incorrect result.
What is a defect?
A flaw in a system that can cause it to fail to perform its required function - also known as a bug.
What is a failure?
Deviation of a system from its expected delivery, service or result. Failure can be caused by many reasons (e.g. data, envrionment, people).
In which areas is testing most likely needed?
Software development, Maintenance, and Operations.
Why is it necessary in Software Development?
To provide quality checks at each stage and remove defects.
Why is it necessary in Maintenance?
To test changes when live software is modified to ensure the existing system has not been affected (regression).
Why is it necessary in Operations?
To assess system charateristics such as reliability or availability.
How are Testing and Quality related?
Testing can give confidence in the quality of the software if it finds few or no defects.
What is Quality?
The degree to which a component, system or process meets specified requirements and expecations.
How do we measure Quality?
Defects found, number of failures, usability rating, and maintainability.
How much testing is enough?
It is context dependent. Considerations on risk, project contrstraints, and time should be considered.
What is Testing?
Process consiting of all life cycles activities, both static and dynamic, concerned with planning, preparation and evaulation of software products and related work products
How do Static and Dynamic Testing improve quality?
They improve the system under test, the development process and the testing process.