A light introduction to the automated testing process.
Jorge Juan Barroso Carmona
Karumi is the beauty of ordinary things spoken of in
a simple way.
“Testing is the process of executing a
program with the intent of ﬁnding
errors. ... This deﬁnition of testing has
many implications ... it implies that
testing is a destructive process, even a
sadistic process, which explains why
most people ﬁnd it difﬁcult.”
Glenford J. Myers
Why Write Test?
It is your
The only way to makes a
it’s really good live
it’s a tool for
“Bad code affect to your Costumer”
It’s from the point of view of the
Test how modules work
different deﬁnitions of unit test.
You're testing should be
from its collaborators
Unit tests are not
A unit is
not a class
Stubs Canned responses
Spies Save information
Fake Near to real one
Dummy Not make anything
“When you are very thirsty, even dirty
water will keep you alive.”
J. B. Rainsberger
They’re the cracks!
Adicto Al verde. Joaquin Engelmo
Elegant?? Unit Testing. Pablo Guardiola
Working Effectively with Unit testing. Jay Fields
Software Craftmanship. Sandro Mancuso
Mocks Aren't Stubs. martin fowler. 2007
Software Reliability: Principles & Practices. Glenford J. Myers 1976
The Art of Unit Testing. Roy Osherove
Test Driven Development: By Example. Kent Beck
I am very social!