Bow

536 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
536
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Bow

  1. 1. Bow – BDD for Arrow News QE – Ares Huang 18 June, 2012
  2. 2. Topics of this talk Development Evolutions What is Bow Bow @ GitHub & BDD › Node.js Demo › Web Integration Demo And Next?Bow – BDD for Arrow 2 6/17/2012
  3. 3. Development Evolutions Cowboy Coding (Dirty Hacking) Automated Testing + C.I. TDD BDDBow – BDD for Arrow 3 6/17/2012
  4. 4. Bow – BDD for Arrow 4 6/17/2012
  5. 5. Cowboy Style ProgrammingThe Cowboy is BusyBow – BDD for Arrow 5 6/17/2012
  6. 6. Bow – BDD for Arrow 6 6/17/2012
  7. 7. Bow – BDD for Arrow 7 6/17/2012
  8. 8. Bow – BDD for Arrow 8 6/17/2012
  9. 9. Bow – BDD for Arrow 9 6/17/2012
  10. 10. Bow – BDD for Arrow 10 6/17/2012
  11. 11. Bow – BDD for Arrow 11 6/17/2012
  12. 12. Bow – BDD for Arrow 12 6/17/2012
  13. 13. Bow – BDD for Arrow 13 6/17/2012
  14. 14. BDD – Stakeholder StoriesIn order to<achieve some outcome which contributes to thevision, or business value>As a<stakeholder>I want<some other stakeholder><to do, use or be restricted by something>Bow – BDD for Arrow 14 6/17/2012
  15. 15. BDD – Story or Unit tests? What’s the difference between story and unit tests where I
have both?The difference is that the story checks thewhole, but I might wish to confirm a portion of thewholeand that is when I need a unit test.Bow – BDD for Arrow 15 6/17/2012
  16. 16. Unit Tests StoriesBow – BDD for Arrow 16 6/17/2012
  17. 17. Bow – BDD for Arrow 17 6/17/2012
  18. 18. Bow – BDD for Arrow 18 6/17/2012
  19. 19. Bow – BDD for Arrow 19 6/17/2012
  20. 20. Bow – BDD for Arrow 20 6/17/2012
  21. 21. Bow – BDD for Arrow 21 6/17/2012
  22. 22. Bow – BDD for Arrow 22 6/17/2012
  23. 23. Bow – BDD for Arrow 23 6/17/2012
  24. 24. Bow – BDD for Arrow 24 6/17/2012
  25. 25. What is BowBow – BDD for Arrow 25 6/17/2012
  26. 26. What is BowSpec + Arrow Scenarios = BowBow – BDD for Arrow 26 6/17/2012
  27. 27. What is Bow.sh$ cat ./bow.sh #! /bin/sh ./bin/bow.js $1 "$*" | grep -o -E "([BDD]|Total Number of|Total Test Execution Time|Report Created|Execute).*$"Bow – BDD for Arrow 27 6/17/2012
  28. 28. What is Bow.js$ ./bin/bow.jsUsage: ./bin/bow.js [file path] "[arrow options]"Example: ./bin/bow.js features/math.feature "--group smoke --browser=firefox --report"Bow – BDD for Arrow 28 6/17/2012
  29. 29. How to install Bow? Prerequisites.1. Assumed Node.js and Arrow frameworks. › Arrow frameworks is not yet open sourced.2. Required Gherkin for Node.js › npm install Gherkin Bow is open sourced › https://github.com/bowdev/Bow Supported platform : Depending on Arrow frameworks. › Currently, Arrow can support Mac & Linux. (Not yet on Windows)Bow – BDD for Arrow 29 6/17/2012
  30. 30. Bow @ GitHub https://github.com/bowdev/BowBow – BDD for Arrow 30 6/17/2012
  31. 31. Bow – BDD process 1: Describe behaviour in plain textBow – BDD for Arrow 31 6/17/2012
  32. 32. Bow – BDD process 2: Bow generates step definitions in YUIBow – BDD for Arrow 32 6/17/2012
  33. 33. Bow – BDD process 3: Run and Watch it failBow – BDD for Arrow 33 6/17/2012
  34. 34. Bow – BDD process 4. Write code to make the step passBow – BDD for Arrow 34 6/17/2012
  35. 35. Bow Demo – Node.jsBow – BDD for Arrow 35 6/17/2012
  36. 36. Bow Demo – Web IntegrationBow – BDD for Arrow 36 6/17/2012
  37. 37. Next? Become a BDD master With right tools and practice, everyone can become a BDD master.Bow – BDD for Arrow 37 6/17/2012
  38. 38. Bow – Q&A Further Reading1. Introduction BDD (Dan North)2. http://cukes.info/3. How we do BDD – putting it all together ContactAres Huang - aresyhoo@yahoo-inc.com SlideShare version of this tech talkBow – BDD for Arrow 38 6/17/2012

×