0
Agile  XP<br />  TDD  BDD<br />
TDD(test-driven development)<br />XP<br />
TDD development cycle<br />
We can relax, don’t we?<br />
How to :<br />get feature within sprint?<br />write requirements in “Agile”?<br />know when you are DONE?<br />know that i...
Feel difference<br />
Where to start<br />What to test<br />What not to test <br />How much to test<br />Everyone wanted to know:  <br />
Where are the drugs? <br />
BDD(Behavior-Driven Development)<br />
BDD solution<br />When<br />Given<br />Then<br />
Title <feature><br />As a [role]I want [some action to be taken]so that [I derive some business value]<br />USER STORY tem...
Title: Registered user should have ability to send message to Assure info center.<br />As a registered user,<br />I want t...
Given some initial context (the givens),When an event occurs,Then ensure some outcomes.<br />ACCEPTANCE CRITERIA Template<...
Scenario 1: Registered user should have ability login to the system.<br />Given opened Assure login screen<br />And there ...
Scenario 2: Logged in user should have ability to send message to info center.<br />Given opened user’s home page<br />Whe...
Step 1. Write acceptance tests in a natural language that non-programmers can read.<br />Step 2. Run tests to identify to ...
Benefits:<br />Natural language that non-programmers can read<br />Focus on business value<br />Implement just enough to s...
Instruments:<br />RSpec<br />Cucumber<br />Jbehave<br />PHP Spec<br />Fitnesse<br />Concordion<br />
CONCORDION.. how it works?<br />
DEMO<br />
Retrospective<br />
How to bdd with concordion
Upcoming SlideShare
Loading in...5
×

How to bdd with concordion

2,006

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,006
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "How to bdd with concordion"

  1. 1. Agile XP<br /> TDD BDD<br />
  2. 2. TDD(test-driven development)<br />XP<br />
  3. 3. TDD development cycle<br />
  4. 4. We can relax, don’t we?<br />
  5. 5. How to :<br />get feature within sprint?<br />write requirements in “Agile”?<br />know when you are DONE?<br />know that implemented feature is one you were asked to?<br />…<br />.. but questions still occur:<br />
  6. 6. Feel difference<br />
  7. 7. Where to start<br />What to test<br />What not to test <br />How much to test<br />Everyone wanted to know:  <br />
  8. 8. Where are the drugs? <br />
  9. 9. BDD(Behavior-Driven Development)<br />
  10. 10.
  11. 11. BDD solution<br />When<br />Given<br />Then<br />
  12. 12. Title <feature><br />As a [role]I want [some action to be taken]so that [I derive some business value]<br />USER STORY template<br />
  13. 13. Title: Registered user should have ability to send message to Assure info center.<br />As a registered user,<br />I want to ask Assure about new feature,<br />so that I want to get Contact Us page to send proper message<br />
  14. 14. Given some initial context (the givens),When an event occurs,Then ensure some outcomes.<br />ACCEPTANCE CRITERIA Template<br />
  15. 15. Scenario 1: Registered user should have ability login to the system.<br />Given opened Assure login screen<br />And there is Assure user with valid credentialsWhen user enters credential to username and password fields and clicks Login button<br />Then user’s home page is openedAnd Contact Us link is visible<br />
  16. 16. Scenario 2: Logged in user should have ability to send message to info center.<br />Given opened user’s home page<br />When user clicks on Contact Us link<br />Then Contact Us page is opened<br />And Submit button appears <br />
  17. 17. Step 1. Write acceptance tests in a natural language that non-programmers can read.<br />Step 2. Run tests to identify to what tests code is not implemented yet<br />Step 3. Implement absence code (functionality).<br />Step 4. Run tests once again and be sure that all tests are passed, repeat step 3 if needed.<br /> BDD workflow<br />
  18. 18. Benefits:<br />Natural language that non-programmers can read<br />Focus on business value<br />Implement just enough to satisfy acceptance criteria <br />Improved communication<br />
  19. 19. Instruments:<br />RSpec<br />Cucumber<br />Jbehave<br />PHP Spec<br />Fitnesse<br />Concordion<br />
  20. 20. CONCORDION.. how it works?<br />
  21. 21. DEMO<br />
  22. 22. Retrospective<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×