Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Probando con Grails
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
aitortxu
September 26, 2011
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Probando con Grails
SpringIo 2011
aitortxu
September 26, 2011
More Decks by aitortxu
See All by aitortxu
Buenas prácticas, ¿Por qué son buenas?
aitortxu
0
730
pamplona_scraft.pdf
aitortxu
0
97
En mi equipo funciona pero no sé por qué
aitortxu
0
340
Deuda técnica ¿Podemos pagar los plazos?
aitortxu
0
190
Fallando con Grails
aitortxu
1
3.1k
Katayunos
aitortxu
1
250
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
250
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
210
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
Balancing Empowerment & Direction
lara
6
1.2k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
A Soul's Torment
seathinner
6
3.5k
Everyday Curiosity
cassininazir
0
290
Believing is Seeing
oripsolob
1
200
Building Applications with DynamoDB
mza
96
7.2k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Skip the Path - Find Your Career Trail
mkilby
1
190
Transcript
Probando con GRAILS
• Aitor Alzola • http://blogs.vitoria-gasteiz.org/ti/ • @Aitortxu • Bryan Liles
TATFT Prueba todo el p**o rato
Stack de pruebas
UNIT JUnit INTEGRATION JUnit FUNCTIONAL - Other cli
TATFT Prueba todo el p**o rato
F.I.R.S.T.
Fast
Isolated
MOCK Isolated
Repeteable
Self-validating
Timely
None
None
S.O.L.I.D.
TATFT Prueba todo el p**o rato
Spock
def "length of names"() { expect: name.size() == length where:
name | length "Spock" | 4 "Kirk" | 4 "Scotty" | 6 } Condition not satisfied: name.size() == length | | | | | 5 | 4 Spock false
EasyB scenario "", { given "", { } } when
"" { } and "", { } then "", { } and "", { }
Selenium
• Canoo Web Test • Webdriver • Functional Test •
Geb
UNIT JUnit Spock-EasyB INTEGRATION JUnit Spock--EasyB FUNCTIONAL Spock--EasyB Selenium WebTest
Geb... Others cli
TATFT Prueba todo el p**o rato
Cobertura
Codenarc
Hudson
Jenkins
TATFT Prueba todo el p**o rato
What’s next?
• Fixtures • Test Data Datos
Selenium rc & Spock
Load Test
• http://www.flickr.com/photos/zsasaki/2494212092 • http://www.flickr.com/photos/wonker/281557235 • http://www.flickr.com/photos/archaicwarrior/4140998256 • http://www.flickr.com/photos/anvilcoud/117458766 • http://www.flickr.com/photos/donmeliton/2719910204
• http://www.flickr.com/photos/jennycu/4441433397 • http://www.flickr.com/photos/bionicteaching/2920562020 • http://www.flickr.com/photos/pleeker/1128663965 Fotos
TATFT Prueba todo el p**o rato
¡Gracias!
¿Preguntas?