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
Functional testing with Geb
Search
Isidro López
December 04, 2015
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Functional testing with Geb
Isidro López
December 04, 2015
More Decks by Isidro López
See All by Isidro López
What 26 Years in Tech Taught Me About Career Growth
islomar
0
58
Value over Code: the power of Continuous Deployment (Kongsberg)
islomar
1
180
How a real-life software/product engineering team works
islomar
0
84
Thinking about value
islomar
1
240
Valor por encima de código: el poder del Despliegue Continuo
islomar
1
370
Pusheando en master, que es gerundio
islomar
2
300
Refactoring legacy code using Approval testing (Meetup Alicante)
islomar
3
260
Aventuras y desventuras de un mindundi en Spotify
islomar
3
1.8k
Mutation testing 101
islomar
3
300
Other Decks in Programming
See All in Programming
ジョジョの世界をXRで再現する
mofurune
0
170
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
1
280
phperだってパンチカードでコーディングしたい
o0h
PRO
0
340
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.2k
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
3.7k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
420
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
残高管理から台帳サービスへの進化
artoy
1
200
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
2
870
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
570
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
370
The Curious Case for Waylosing
cassininazir
1
570
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Evolving SEO for Evolving Search Engines
ryanjones
0
330
Balancing Empowerment & Direction
lara
6
1.3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Transcript
Tests funcionales con Geb
Índice 1. Características de Geb 2. Alternativas 3. Uso en
otras empresas 4. Debate sobre tests funcionales
Test pyramid
Qué es Geb • Browser automation solution • Integrable con
JUnit, TestNG, Cucumber, Spock… • Build system integration: Gradle, Grails, Maven
Qué es Geb Geb se apoya en: • WebDriver cross-browser
automation • jQuery content selection • Page Object modelling • Groovy DSL
Selenium WebDriver Browser automation framework Sucesor de Selenium Remote Control
Funciona tanto en navegador real como headless (e.g. PhantomJS)
Selenium WebDriver • Cross-browser: ◦ FF, IE, Chrome, Opera. ◦
Experimental: ▪ Chrome on Android, ▪ Safari on iPhone/iPad • Remote browsers (e.g. run IE from *NIX) • Headless browsers ◦ (HTMLUnit, PhantomJS)
Page Objects Modela áreas UI como objetos Reusabilidad/Mantenibilidad Permite la
herencia
Modules Reutilización de bloques UI entre Pages Permite declarar métodos
( = acciones) Ejemplo: menú lateral, search input, etc.
jQuery content selection Find, filter and interact with DOM elements
Permite: • Assert content • Trigger actions
… y más... Elementos existentes por convención: • title •
heading Lanzar misma batería de pruebas en FF, Chrome, IE, etc. Reporting AJAX support
None
Alternativas • WebDriver a pelo • Apache JMeter • Canoo
WebTest • Grails functional test
Ejemplo integrado en Scrum (I) • Sprint Planning ◦ Se
decide si se va a crear test funcional o no ◦ Se incluye en estimación y se crea tarea en US • Pertenecía al DoD
Ejemplo integrado en Scrum (II) • QA ◦ Define las
pruebas en Cucumber ◦ [a veces también las implementan] • Desarrolladores ◦ Implementan las pruebas ◦ [a veces también las definen]
Debate • ¿Queremos tests funcionales? • En caso afirmativo, ◦
¿cuándo, para qué? ◦ ¿qué framework utilizar?