Types of tests
-
Upload
carlos-garcia -
Category
Technology
-
view
204 -
download
2
description
Transcript of Types of tests
Types of tests
What is the coverage of our tests?
in lines of code?
in number of test cases? 0%
For 100% test coverage, you just
need infinite resources!!!
We don't havethat!!!
do the most with
what you have
choose
Unit
Integration
Functional
Unit
Integration
Functional
Unit
Integration
Functional
Unit
Integration
Functional
Unit
Integration
Functional
imple
menta
tion co
st
fast
feedback
fragili
ty
runtim
e
precis
e feedback
robustn
ess
simplic
ity
cove
rage
Unit
Integration
Functional
● have the best cost benefit ratio● should be part of design and
development tasks● should run often● simulate interactions with other
components by the use of mocks● allow developers to simulate corner
cases
Unit
Integration
Functional
● exercise the integration between components
● can test sql queries ● take more time● first option when a dependency
can't be mocked● since dependencies have to be
provided, are expensive
Unit
Integration
Functional
● can't see the application● tests how an actor interacts with the
app○ it could be a person○ or another system
● corner cases should not be implemented at this level
● are great to show to a stakeholder
Unit
Integration
Functional
do the most with
what you have
Thank you!