Lecture 2 Flashcards
What is testing?
It is a method to check whether the actual software product matches expected requirements and to ensure that software product is defect free
What does software testing consist of?
The dynamic verification of the behaviour of a program on a finite set of test cases selected from infinite executions domain against expected behaviour of the program.
What does dynamic mean in terms of software testing?
Testing implies executing the program on valued inputs
What does finite mean in terms of software testing?
It isn’t possible to test every single test case and instead a subset of test cases is chosen
What does selected mean in terms of software testing?
Identifying the most suitable selection criterion for a given set of conditions
What is expected in terms of software testing?
The observed behaviour is checked against user expectations
Why is software testing important?
If there are any bugs in the software it can be identified early and solved before delivery of the software product.
Properly tested software products ensures reliability, security and high performance which results in time saving, cost effectiveness and customer satisfaction
What are the benefits of software testing?
Cost Effectiveness
Security
Product quality
Customer satisfaction
When is it enough testing?
When a test set has every individual branching condition, every potential termination condition, every variable mentioned in a decision is placed correctly into classes and every condition relevant to the correct operation of the program
What is test effectiveness?
It is a measure of how well a software testing process is able to identify defects or bugs in a system. It is a metric to evaluate the quality and efficiency of a testing process.
How can test effectiveness be measured?
By comparing the number of defects found during testing to the total number of defects present in the system
What factors can affect test effectiveness?
The size and complexity of the system
The skill and experience of the testers
The testing methods and tools used
How can you increase test effectiveness?
By using various testing techniques such as black box, white box and gray bos
What is the equation for test effectiveness?
(Number of defects found during testing / Total number of defects in the system) * 100
What is test efficiency?
It is a measure of how efficiently a software testing process is able to identify defects or bugs in a system. It is a metric used to evaluate the performance of a testing process.