Documente Academic
Documente Profesional
Documente Cultură
is
Muta6on
Tes6ng?
Muta&on
Tes&ng
is
a
tes6ng
technique
that
focuses
on
measuring
the
adequacy
of
test
cases.
Muta&on
Tes&ng
is
NOT
a
tes6ng
strategy
like
path
or
data-ow
tes6ng.
It
does
not
outline
test
data
selec6on
criteria.
Muta&on
Tes&ng
should
be
used
in
conjunc6on
with
tradi6onal
tes6ng
techniques,
not
instead
of
them.
Dependable
So,ware
Systems
(Muta6on)
Muta6on
Tes6ng
Faults
are
introduced
into
the
program
by
crea6ng
many
versions
of
the
program
called
mutants.
Each
mutant
contains
a
single
fault.
Test
cases
are
applied
to
the
original
program
and
to
the
mutant
program.
The
goal
is
to
cause
the
mutant
program
to
fail,
thus
demonstra6ng
the
eec6veness
of
the
test
case.
Dependable
So,ware
Systems
(Muta6on)
Mutant
Programs
Muta6on
tes6ng
involves
the
crea6on
of
a
set
of
mutant
programs
of
the
program
being
tested.
Each
mutant
diers
from
the
original
program
by
one
muta.on.
A
muta.on
is
a
single
syntac6c
change
that
is
made
to
a
program
statement.
4
if
(x
<
y)
5
mx
=
x;
6
else
7
mx
=
y;
8
return
mx;
9
}
Replacing
x
by
constant
5.
Replacing
y
by
constant
5.
Replacing
x
and
y
with
each
other.
Replacing
==
by
>=.
Inser6ng
++.
Muta6on
operators
Performed
by
jester
mothra
n
other
tools