Chapter 1 Fundamentals of testing
- 1. Why is testing necessary?
- 2. What is testing?
- 3. Test principles
- 4. Fundamental test process
- 5. The psychology of testing
Chapter 1 Fundamentals of testing 1. Why is testing necessary? 2. - - PowerPoint PPT Presentation
Chapter 1 Fundamentals of testing 1. Why is testing necessary? 2. What is testing? 3. Test principles 4. Fundamental test process 5. The psychology of testing 1. Why is testing necessary 1.1 Software system context 1.2 Causes of
important part of life:
Web browsers Content management systems Word processors Telecom networks Air traffic control SS
software not working as expected.
correctly, it can lead to problems like:
Fatigue Lack of training Lack of understanding Lack of interest
Time pressure Complex code Many system interactions Changed technologies
Environmental conditions
Human errors Non-controllable events (i.e. environmental conditions)
Both causes of errors produce defects ( = faults, bugs) in the code.
system will fail to do what it should).
1.1 Software system context 1.2 Causes of software defects 1.3 Role of testing in sw.systems 1.4 Testing and quality 1.5 How much testing is enough?
2.1 Definition of testing
4.1 Plan and control 4.2 Analysis and design 4.3 Implementation and execution 4.4 Evaluate exit criteria and report 4.5 Test closure activities
5.1 Independence test levels 5.2 Tips and tricks
Usability, Portability)
…measures the quali lity th the SW in in terms of
fou
…creates con
in th the quali lity of
the SW
defects, processes can be improved. This can prevent defects from reoccurring.
... ...teaches us s le less ssons to
apply in in fu future projects
stakeholders to make informed decisions about:
Level of risk:
Project constraints:
It depends
criteria
The process of testing all SW life-cycle activities:
concerned with:
to:
Depending on the objectives of the test process, testing can be focused on:
cannot prove that there are no defects.
defects remaining in the software. However, even if no defects are found, this is not a proof of
What is testing?2. What is testing?
P1: Testing shows the presence of defects, not their absense
and preconditions) is not feasible except for specific cases.
possible in the software or system development life cycle and should be focused
defects discovered during pre-release testing. is testing? 2. What is testing?
again, the same set of test cases will no longer find any new bugs.
cases need to be regularly reviewed and revised, and new and different tests need to be written to investigate different parts of the software.
contexts.
is different from e-commerce site testing.
software system does not fulfill users' needs and expectations.
Who, what , why, when and where
new challenges of the project.
into:
discrepancy
constructive way: fact-focused reports and review of findings
more effective at finding defects and failures. However, the developer can very efficiently find bugs in their own code.
depends on the objective of testing.
the same organization
(outsourcing the testing)
understood the problem