Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Implementing the Click - Per Åkerberg

956 vues

Publié le

Per Åkerberg's (@perakerberg) presentation from MeetUI 2013, SoapUI's first user conference, in Stockholm, Sweden. Per is a .Net developer at Centiro Solutions.

Publié dans : Technologie
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

Implementing the Click - Per Åkerberg

  1. 1. Implementing the clickUsing Gherkin with SoapUIPer Åkerberg@perakerberg / per.akerberg@centiro.com
  2. 2. What is a click?
  3. 3. Personal clicks
  4. 4. Personal clicks
  5. 5. Professional clicks
  6. 6. Professional clicks
  7. 7. BDD: Behavior-driven developmentExecutable specifications in plain EnglishEmphasis on communicationLiving documentation
  8. 8. Gherkin – the BDD languageFeature: Cash withdrawalIn order to get some spending moneyAs a bank customerI want to withdraw cash from my accountScenario: Sufficent funds in accountGiven I have $100 in my accountWhen I withdraw $50Then $50 is dispensedAnd my account balance is $50FeatureScenarioStepsGherkin
  9. 9. FeatureScenarioStepsGherkinFeature: Cash withdrawalIn order to get some spending moneyAs a bank customerI want to withdraw cash from my accountScenario: Insufficent funds in accountGiven I have $100 in my accountWhen I withdraw $500Then I am greeted with a ”sorry, no cash for you” messageGherkin – the BDD language
  10. 10. BDD ToolsThe tool is not important – but you need oneSoapUI?
  11. 11. How Gherkin and SoapUI clickFeatureScenarioStepTest suiteTest caseTest step
  12. 12. How Gherkin and SoapUI clickFeatureScenarioSteps
  13. 13. Isolated tests
  14. 14. Reuse over copy-paste
  15. 15. Consistent structure and naming
  16. 16. More what, less how
  17. 17. Wider scope – more end to end
  18. 18. Tests become documentation
  19. 19. An easy way into BDDImproved communicationBetter testsIncreased utilization of SoapUI featuresTests become documentationHow it changed us
  20. 20. http://blog.smartbear.com/software-quality/click-using-gherkin-with-soapui/
  21. 21. Thank you.Per Åkerberg@perakerberg / per.akerberg@centiro.com

×