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
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
710
pamplona_scraft.pdf
aitortxu
0
96
En mi equipo funciona pero no sé por qué
aitortxu
0
330
Deuda técnica ¿Podemos pagar los plazos?
aitortxu
0
190
Fallando con Grails
aitortxu
1
3k
Katayunos
aitortxu
1
240
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
4 Signs Your Business is Dying
shpigford
187
22k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
570
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
Thoughts on Productivity
jonyablonski
76
5.2k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
300
AI: The stuff that nobody shows you
jnunemaker
PRO
7
670
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?