Acceptance Test Driven Development using Robot Framework
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Acceptance Test Driven Development using Robot Framework

on

  • 2,893 views

Agile Tour Hyderabad 2012 presentation

Agile Tour Hyderabad 2012 presentation
For Demo source, contact me on my email asheesh(dot)mehdiratta(at)gmail.com

Statistics

Views

Total Views
2,893
Views on SlideShare
2,427
Embed Views
466

Actions

Likes
1
Downloads
25
Comments
0

21 Embeds 466

http://agilejourneys.blogspot.in 333
http://agilejourneys.blogspot.com 59
http://agilejourneys.blogspot.ru 18
http://agilejourneys.blogspot.co.uk 11
http://www.linkedin.com 10
http://agilejourneys.blogspot.de 7
http://agilejourneys.blogspot.nl 6
https://twitter.com 5
http://agilejourneys.blogspot.ca 3
http://agilejourneys.blogspot.dk 2
http://agilejourneys.blogspot.fr 2
http://agilejourneys.blogspot.sg 1
http://agilejourneys.blogspot.ie 1
http://agilejourneys.blogspot.com.au 1
https://si0.twimg.com 1
http://agilejourneys.blogspot.be 1
http://agilejourneys.blogspot.ch 1
http://agilejourneys.blogspot.com.es 1
http://agilejourneys.blogspot.com.br 1
http://agilejourneys.blogspot.it 1
http://agilejourneys.blogspot.jp 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 05/05/09 www.agiletour.com This presentation focuses on ATDD at a broad level, and gives a sneak preview of how you can use Robot FX for ATDD. 05/05/09 www.agiletour.com
  • How are you releasing your products today ? Are you releasing with 100% features as planned, requested by your Product owner ? Is your PO happy with every release/every sprint with your deliverables? Do you do User stories ? Do you define Acceptance Criteria? Do you write Acceptance Tests? What are you missing? 05/05/09 www.agiletour.com
  • Missed communication ? 05/05/09 www.agiletour.com
  • REAL requirements ! 05/05/09 www.agiletour.com
  • Confusion ! 05/05/09 www.agiletour.com
  • And then it HURTS EVERYONE ! 05/05/09 www.agiletour.com
  • So welcome to the SILVER BULLET – Acceptance Tests ! Really , NO ! Just another arsenal in the toolbox. Provide a single ‘ubiquitous’ language which is answering – WHAT do you want to BUILD ? And leaves the technical implementation details for another discussion. These Acceptance tests are an agreement with your Product Owner and all stakeholders, and the development team, which can also be “executed” everytime, anytime as soon as they are written and agreed upon. Examples of business scenarios serve as specifications which can be expanded further. 05/05/09 www.agiletour.com
  • 3 steps to ATDD Glory: Discussion-Development-Deliver Discussion: Automated Acceptance Tests written by the end of the workshop. All tests are automated and would FAIL at this point. Development: Development and Tests done for each Acceptance Tests during the Iteration\\Sprint Deliver: Acceptance Tests PASS by the end of the sprint. 05/05/09 www.agiletour.com
  • Multiple frameworks available, experiment with some based on your skillset, complexity, cost tradeoffs. Python-Robot Java_Fitnesse\\Fit\\Slim\\JBehave Ruby -Rspec 05/05/09 www.agiletour.com
  • 05/05/09 www.agiletour.com
  • Robot FX: simple install for various OS Test libraries : Glue code, could be standard library available now or your own Custom library Product: System under Test (SUT) Example: API, Service, Product, Suite 05/05/09 www.agiletour.com
  • Complex Epic, with multiple variations and ambiguity 05/05/09 www.agiletour.com
  • 05/05/09 www.agiletour.com
  • 05/05/09 www.agiletour.com
  • 05/05/09 www.agiletour.com
  • 05/05/09 www.agiletour.com
  • 05/05/09 www.agiletour.com

Acceptance Test Driven Development using Robot Framework Presentation Transcript

  • 1. Real world Acceptance Test Driven development using Robot framework Asheesh Mehdiratta | @amehdiratta Kunal Saini | @kunal8484 November 2012 Asheesh Mehdiratta © 2012
  • 2. How is your Journey? Asheesh Mehdiratta © 2012
  • 3. Needs ? Asheesh Mehdiratta © 2012Nov 2012 www.agiletour.com @amehdiratta
  • 4. Wants ? Asheesh Mehdiratta © 2012Nov 2012 www.agiletour.com @amehdiratta
  • 5. y ? u i t b igA m Asheesh Mehdiratta © 2012
  • 6. Reality bites ! Asheesh Mehdiratta © 2012
  • 7. Acceptance TestsCommon understandingExternally visibleImplementation independentExecutable requirementsLiving documentationSpecification by example Asheesh Mehdiratta © 2012
  • 8. ATDD: STEPS TO GLORY Source : ATDD with Robot framework: Craig Larman and Bas Vodde Asheesh Mehdiratta © 2012
  • 9. ATDD Toolbox Robot Framework JBehave FitNesse Rspec Selenium Cucumber Watir/Watij easyb Canoo WebTest Slim StoryTeller Specflow Asheesh Mehdiratta © 2012
  • 10. Robot FX: IntroductionPython based keyword driven automation frameworkAllows Natural language  Domain language expressionOpen Source, Multi OS, Technology independentTest cases in multiple formats (HTML,TSV,Text)Extensive library support – growing !! + custom…[HTTP,Selenium,Database,SSH,Eclipse,AutoIt,Swing] Asheesh Mehdiratta © 2012 Nov 2012 www.agiletour.com @amehdiratta
  • 11. Robot FX: How it works Source : ATDD with Robot framework: Craig Larman and Bas Vodde Asheesh Mehdiratta © 2012
  • 12. User story Asheesh Mehdiratta © 2012
  • 13. Demo Robot framework: Part 1Demo includes :• Display test authoring in natural language• Keyword driven, multilevel tests suites• Selenium Integration to drive SUT• Reports Asheesh Mehdiratta © 2012
  • 14. Demo Robot framework: Part 2Demo includes :Robot FX integration with Custom library (C#) alongwith additional integration test tools Asheesh Mehdiratta © 2012
  • 15. Summary: ATDD with Robot FX Shared understanding Tagging capability Tight cross functional Build Complex scripts team integration Executable, uptodate Easy tools integration Regression tests including CI support Testers life enriched Easily extensible Independent of Technology, OS, App FREEEEE ! Asheesh Mehdiratta © 2012 Nov 2012 www.agiletour.com @amehdiratta
  • 16. Questions ? Asheesh Mehdiratta Change Evangelist connect: @amehdiratta http://agilejourneys.blogspot.in http://in.linkedin.com/in/amehdiratta asheesh.mehdiratta@gmail.com Kunal Sainiconnect: @kunal8484in.linkedin.com/in/sainikunal saini.kunal@gmail.com Asheesh Mehdiratta © 2012
  • 17. CreditsRobot framework http://code.google.com/p/robotframeworkATDD with Robot framework: : Craig Larman and Bas VoddeSpecification by Example: How Successful Teams Deliver the Right Software : Gojko AdzicExtreme programming http://www.extremeprogramming.org/Photo Creditshttp://www.toldontape.co.uk/wp-content/uploads/2011/08/start-end-line.jpghttp://www.easyvectors.com/assets/images/vectors/afbig/outline-smiley-icons-clip-art.jpghttp://www.massagetoday.com/content/images/steps_21228_1_1_1129.jpghttp://wallpapers.free-review.net/21_~_River_stone.htmhttp://upload.wikimedia.org/wikipedia/commons/6/65/Stones_Porto_DSCF0572.jpghttp://micah.sparacio.org/wp-content/uploads/2011/05/depression.jpghttp://greenwood-carving.blogspot.in/2010/10/beautiful-axes-japanese-carpentry-tools.htmhttp://twitter.com/robotframeworkhttp://media.dwell.com/images/480*583/crash-test-dummy-thackray-laura.jpghttp://smallbiztrends.com/wp-content/uploads/2012/09/happy-team.jpg Asheesh Mehdiratta © 2012