Acceptance Test DrivenDevelopmentusingRobot FrameworkPekka Klärck <peke@eliga.fi>Janne Härkönen <jth@reaktor.fi>© Copyrigh...
Acceptance Test Driven DevelopmentCommon understandingUbiquitous languageExecutable requirements/examplesLiving docume...
The ATDD cycle© Image copyright Elisabeth Hendrickson
Development phaseThe specified examples guide theimplementation workAutomation of the examples can be done inparallel wi...
Deliver phaseImplemented features are demonstrated to allstakeholdersOriginal examples are executed against theproduced ...
Robot FrameworkGeneric test automation frameworkUtilizes the keyword-driven testing approachSuitable both for "normal" ...
High level architecture
Simple tabular syntax
Executable specifications
Data-driven test cases
Key featuresCreating higher level keywords in test dataEasy to create domain specific languagesNo programming skills ne...
Separate test data editor (RIDE)
Clear reports
Detailed logs
Rich ecosystemGeneric test librariesWeb testing, Swing, SWT, Windows GUIs,databases, SSH, Telnet, ...Build tool integra...
For more informationBridging the Communication Gap book by GojkoAdzic: http://acceptancetesting.infoRobot Framework: htt...
Questions?Thanks!Pekka Klärck <peke@eliga.fi>Janne Härkönen<jth@reaktor.fi>
Upcoming SlideShare
Loading in …5
×

'Acceptance Test Driven Development Using Robot Framework' by Pekka Klarch & Janne Harkonen

2,195 views

Published on

Acceptance test driven development (ATDD) is an important agile practice merging requirement gathering with acceptance testing. In its core are concrete examples, created together with the team, that provide collaborative understanding and, as automated acceptance tests, make sure that the features are implemented correctly. There are many ways to create ATDD examples/tests, and the behavior driven­ development (BDD) style with Given­-When­-Then format is one of the more popular ones.



Robot Framework is an open source test automation framework suitable for ATDD and acceptance testing in general. It has a flexible test data syntax that supports keyword­-driven, data-­driven, and BDD styles, but is still simple enough so that also non­-programmers can create and understand test cases. The simple test library API makes extending the framework easy, and there are several ready made libraries that allow testing generic interfaces such as web, databases, Swing, SWT, Windows GUIs, Flex, and SSH out­-of-­the­-box.



This presentation gives an introduction both to ATDD and Robot Framework. It contains different demonstrations and

all the material will be freely available after the presentation.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,195
On SlideShare
0
From Embeds
0
Number of Embeds
327
Actions
Shares
0
Downloads
59
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

'Acceptance Test Driven Development Using Robot Framework' by Pekka Klarch & Janne Harkonen

  1. 1. Acceptance Test DrivenDevelopmentusingRobot FrameworkPekka Klärck <peke@eliga.fi>Janne Härkönen <jth@reaktor.fi>© Copyright Nokia Siemens NetworksCreative Commons Attribution 3.0 License
  2. 2. Acceptance Test Driven DevelopmentCommon understandingUbiquitous languageExecutable requirements/examplesLiving documentationAlso known as story test driven development,behavior driven development, executablespecifications, specification by example, ...
  3. 3. The ATDD cycle© Image copyright Elisabeth Hendrickson
  4. 4. Development phaseThe specified examples guide theimplementation workAutomation of the examples can be done inparallel with feature implementationThe whole team is responsible on automationIn the end, all the automated examples passwhen run against the implementation
  5. 5. Deliver phaseImplemented features are demonstrated to allstakeholdersOriginal examples are executed against theproduced softwareFeedback serves as input to the nextdiscussion phase
  6. 6. Robot FrameworkGeneric test automation frameworkUtilizes the keyword-driven testing approachSuitable both for "normal" automation and ATDDImplemented with PythonRuns also on Jython (JVM) and IronPython (.NET)Open sourceApache 2.0 LicenseSponsored by Nokia Siemens NetworksActive development and community
  7. 7. High level architecture
  8. 8. Simple tabular syntax
  9. 9. Executable specifications
  10. 10. Data-driven test cases
  11. 11. Key featuresCreating higher level keywords in test dataEasy to create domain specific languagesNo programming skills neededVariablesTagging test casesSelecting tests, statistics, ...Simple test library APIEasy to create custom libraries
  12. 12. Separate test data editor (RIDE)
  13. 13. Clear reports
  14. 14. Detailed logs
  15. 15. Rich ecosystemGeneric test librariesWeb testing, Swing, SWT, Windows GUIs,databases, SSH, Telnet, ...Build tool integrationOutputs also in machine readable XML formatPlugins for Jenkins/Hudson, Maven, Ant, ...Text editor supportEmacs, Vim, TextMate, ...
  16. 16. For more informationBridging the Communication Gap book by GojkoAdzic: http://acceptancetesting.infoRobot Framework: http://robotframework.orgATDD with Robot Framework article by Craig Larmanand Bas Vodde: http://a-tdd.orgATDD with Robot Framework demo:http://code.google.com/p/atdd-with-robot-frameworkWeb testing demo with Robot Framework:http://bit.ly/rf-web-test-demo
  17. 17. Questions?Thanks!Pekka Klärck <peke@eliga.fi>Janne Härkönen<jth@reaktor.fi>

×