implementing the click - per Åkerberg
DESCRIPTION
Per Åkerberg's (@perakerberg) presentation from MeetUI 2013, SoapUI's first user conference, in Stockholm, Sweden. Per is a .Net developer at Centiro Solutions.TRANSCRIPT
Implementing the clickUsing Gherkin with SoapUI
Per Åkerberg @perakerberg / [email protected]
What is a click?
Personal clicks
Personal clicks
Professional clicks
Professional clicks
BDD: Behavior-driven development
Executable specifications in plain EnglishEmphasis on communication
Living documentation
Gherkin – the BDD language
Feature: Cash withdrawalIn order to get some spending moneyAs a bank customerI want to withdraw cash from my account
Scenario: Sufficent funds in accountGiven I have $100 in my accountWhen I withdraw $50 Then $50 is dispensedAnd my account balance is $50
Feature
Scenario
Steps
Gherkin
Feature
Scenario
Steps
Gherkin
Feature: Cash withdrawalIn order to get some spending moneyAs a bank customerI want to withdraw cash from my account
Scenario: Insufficent funds in accountGiven I have $100 in my accountWhen I withdraw $500 Then I am greeted with a ”sorry, no cash for you” message
Gherkin – the BDD language
BDD Tools
The tool is not important – but you need one
SoapUI?
How Gherkin and SoapUI click
FeatureScenarioStep
Test suiteTest caseTest step
How Gherkin and SoapUI click
FeatureScenario
Steps
Isolated tests
Reuse over copy-paste
Consistent structure and naming
More what, less how
Wider scope – more end to end
Tests become documentation
An easy way into BDDImproved communication
Better testsIncreased utilization of SoapUI features
Tests become documentation
How it changed us
SoapUI?
BDD?
http://blog.smartbear.com/software-quality/click-using-gherkin-with-soapui/
Thank you.
Per Åkerberg @perakerberg / [email protected]