






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







-^ VerificationDoes
the
product
meet
system
specifications?
Have
you
built
the
product
right?
-^ ValidationDoes
the
product
meet
user
expectations?
Have
you
built
the
right
product?
(Boehm)
-^ From
Specification
to
Design
and
Implementation. • Gold
plating.
-^ The
correct
approach
to
testing
a^ scientific
theory
is^
not
to
verify
it,
but
to
seek
to
refute
the
theory
it^
has
errors.
(Popper
The
goal
of
testing
is^
to^
expose
latent
defects
in^ a
software
system
before
it^
is^ put
to
use.
function
to
compare
two
strings
of
characters
for
equality.
bool
isStringEqual(char
a[],
char
b[]);
a^
b^
Result
a^
b^
Result
“cat”
“dog”
false
“”^
“”^
true
“hen”
“hen”
true^
“hen”
“heN”
false
“”^
“^ “^
false
“”^
“ball”
false
“cat”
””^
false
“rat”
“door”
false
“^ ”^
“^ ”^
true^
“cat”
“rat”
true
-^ In
order
to
prove
that
a^ formula
or
hypothesis
is^ incorrect
you
have
to
show
only
one
example. • To^
prove
that
a^ formula
or
hypothesis
is
correct
any
number
of
examples
are
insufficient.
-^ These
examples
only
help
you
in^
coming
up
with
as
hypothesis
but
they
are
not
proofs
by
themselves. • They
only
enhance
your
comfort
level
in^
that
particular
hypothesis,
i.e.,
in^
your
piece
of
software.