Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Probando con Grails
Search
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
Transcript
37 slides
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?
More Decks by aitortxu
See All by aitortxu
Buenas prácticas, ¿Por qué son buenas?
aitortxu
0
740
pamplona_scraft.pdf
aitortxu
0
100
En mi equipo funciona pero no sé por qué
aitortxu
0
340
Deuda técnica ¿Podemos pagar los plazos?
aitortxu
0
200
Fallando con Grails
aitortxu
1
3.2k
Katayunos
aitortxu
1
260
Featured
See All Featured
Side Projects
sachag
456
43k
For a Future-Friendly Web
brad_frost
184
11k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
770
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.2k
Thoughts on Productivity
jonyablonski
76
5.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
Speed Design
sergeychernyshev
33
2.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k