jekyll and hyde with jubula - ece2015 · 2 agenda introductionsand motivation dr jekyll: the jubula...
TRANSCRIPT
1
Jekyll and Hyde with Jubula
Alex SchladebeckMarkus Tiede
BREDEX GmbH
04.11.15
http://www.freedigitalphotos.net artur84 ID 100161961
2
AgendaIntroductions and motivationDr Jekyll: the Jubula ITEMr Hyde: the Jubula Client API
04.11.15 Jekyll and Hyde with Jubula
5
Why do we automate tests?
04.11.15 Jekyll and Hyde with Jubula
http://www.freedigitalphotos.net Chaiwat 100300308
6
Automating tests with JubulaCode-free functional (black box) testing• Swing, SWT/RCP/GEF, HTML, iOS, JavaFX
Tests through the GUI• No / minimal difference to manual test• All layers tested• Use cases, workflows: begins with requirements• Intelligent and well-structured tests
Communication!• Whole team involvement• Continuous Integration = Continuous Information
“Why can’t we also write code…?”
04.11.15 Jekyll and Hyde with Jubula
7
CAP: the quintessence of automation
04.11.15 Jekyll and Hyde with Jubula
Into the username field, enter “admin“
CAP (Test Step)Component Action Parameter(Which) (What) (How)
http://www.freedigitalphotos.net Stuart Miles 100146476
904.11.15 Jekyll and Hyde with Jubula
"Janus-Vatican" by Fubar Obfusco - Foto taken himself. Licensed under Public Domain via Wikimedia Commonshttp://commons.wikimedia.org/wiki/File:Janus-Vatican.JPG#mediaviewer/File:Janus-Vatican.JPG
JubulaITE
Create test
Add data
Add components
Do mapping
Execute
Analyse
JubulaClient API
Java API
Jubula‘s Core
“Raw“ low-level
AUT lifecycleexecute CAPs
20
Accessing a UI component
04.11.15 Jekyll and Hyde with Jubula
UI component proxy instances• factories for executable CAPs• searched when CAPs getting executed
27
Some factsJava 6+Exceptions for execution eventsConsumable in different flavors• plain JARs• Maven artifacts from m2-repo• OSGi bundlesSmall footprint ~2MBAvailable since Mars• Standalone version: http://testing.bredex.de
04.11.15 Jekyll and Hyde with Jubula
28
What’s happened since Mars?New RC features:• New actions for:
• GEF• JavaFX• HTML• SWT/RCP
New ITE features:• Quicker test result
report opening• Updates for JavaFX
• Autrun• Code coverage• New mapping options
New client API features:• Custom UI controls• GEF via the API• Taking screenshots• Partial export of
object mapping from the ITE• more example
scenarios
04.11.15 Jekyll and Hyde with Jubula
29
Dual personalitiesJubula ITE• Code-free
• + test design• Communication• Offers shiny extras
• ALM• Test result reports• BIRT
Jubula Client API• Very code-y
• + coding practices ;)• Communication• Offers shiny features
• Complex test flows• Use the world of Java• Integration into SCM
04.11.15 Jekyll and Hyde with Jubula
Choose your poison!