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
aitortxu
September 26, 2011
0
110
Probando con Grails
SpringIo 2011
aitortxu
September 26, 2011
Tweet
Share
More Decks by aitortxu
See All by aitortxu
Buenas prácticas, ¿Por qué son buenas?
aitortxu
0
660
pamplona_scraft.pdf
aitortxu
0
93
En mi equipo funciona pero no sé por qué
aitortxu
0
330
Deuda técnica ¿Podemos pagar los plazos?
aitortxu
0
180
Fallando con Grails
aitortxu
1
3k
Katayunos
aitortxu
1
220
Featured
See All Featured
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
60
Deep Space Network (abreviated)
tonyrice
0
43
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Ethics towards AI in product and experience design
skipperchong
2
190
Abbi's Birthday
coloredviolet
1
4.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
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?