Professional Documents
Culture Documents
Fault refers to an underlying condition within a software that causes certain failure(s) to occur;
Error refers to a missing or incorrect human action resulting in certain fault(s) being injected
into a software.
Note: “Debug “/Debugging” The term --> means “get rid of the bugs”. It includes activities
related to detecting the presence of bugs while dealing/fixing the bugs.
Software Validation and Verification
Two similar concepts related to software testing,
frequently used by practitioners are verification and
validation.
V & V goals
Verification and validation should establish confidence that the software is fit for
purpose. This does NOT mean completely free of defects.
Rather, it must be good enough for its intended use and the type of use will
Dynamic verification:
Requirements
specification High level Formal Detailed
Program
Design Specification Design
Program
Prototype
Testing
V&V Planning
Careful planning is required to get the most out of testing &
Inspection processes should be started early in the
development process.
computer-based systems
Validation perspectives
Safety Validation:
Does the system always operate in such a way that accidents do
Reliability validation:
1.Does the measured reliability of the system meet its specification?
Security validation:
Dynamic validation techniques
These are techniques that are concerned with validating the system in execution.
1. Testing Techniques - analyzing the system outside of its operational
environment (@ Developing organization)
Reliability validation:
Cannot be included as part of a normal defect testing process because data for
something
1.Safety problems are accidental & are problems are related to the
application domain
Security Validation
Experience-based validation:
The system is reviewed and analyzed against the types of attack that are
Tool-based validation:
Various security tools such as password checkers are used to
Security teams:
processes designed
intended.
Testing…................
A process of executing a program with the intent of finding an
error. ........ Glen Myers
Testing cannot show the absence of errors and defects, it can show
software.
For example, in Water fall model ,formal testing is conducted in the Testing
phase,
When to stop testing
Unlike when to start testing, it is difficult to determine when to stop
testing, as testing is a never ending process and no one can say that
any software is 100% tested. Following are the aspects which should
Testing Deadlines.
Management decision.
1.A set of test inputs. These are data items received from an external source by the code under
2. Execution conditions. These are conditions required for running the test, for example, a certain
3. Expected outputs. These are the specified results to be produced by the code under test.
6.Precondition and post condition: pre and post conditions of test case.
Test:
A test is a group of related test cases and test procedures (steps needed to
Test Set:
Test Suite:
A group of related tests that are associated with a database, and are usually run
software system.
evaluating quality.
Principle 2. When the test objective is to detect defects, then a good test case
is one that has a high probability of revealing a yet undetected defect(s).
Testing time and resources are limited. Every test should have a different
In a group of tests that have a similar intent, time and resource limitations
4.A good test should be neither too simple nor too complex.
Testing like playing a pool game
Either you hit the ball to any pocket (kiddie pool) or you specify the
expected outcome.
In real testing, the outcome is predicted and documented before the test
is run.
Questions Please!!!!