def test = newBDDMadeEasy(Selenium,EasyB,Groovy)
Rajiv Narulawww.rajivnarula.com
About you...Java ?Groovy ?BDD ?EasyB ?
AgendaBDDIn actionInterruptions...solicited
What is BDD ?
A little bit of historyDan North
“How will the software behave under specific conditions ?”
Traditional documents
 Requirement Specs    Use Cases Functional Specs     Flow Charts Stories              Many more…
The problem…
“How should the software behave under specific conditions ?”
BDD offers…A template for defining behavior
The templatePre-conditionsStepsExpected behavior
An exampleGiven some preconditionWhen some action by the actorThen some testable outcome is achieved
Another ExampleGiven some preconditionAnd some other preconditionWhen some action by the actorAnd some other actionAnd yet...
easyB Scriptdescription "As simple as it gets"scenario "Testing easyB setup",{        given "there is some precondition"  ...
Executable Requirements
What’s the big deal ?
Define the behavior of the software
The Three AmigosProduct OwnerBADeveloperTester
Old way-multiple documents
New way- singluar document
Collaboration
Business friendlytesting report
Tractability matrixon steroids
TechnologiesGroovyeasyBSelenium
Groovy
Language for the JVM
Compiles to java byte-code
Excellent compatibility with Java
Syntax similar to Java
Wrap up
So what’s great about BDD- one more time ?
Alternate technologies Cucumber Jbehave Cuke4Duke RSPec
Questions ?
Follow-updannorth.neteasyB.orggroovy.codehaus.orghttp://goo.gl/eQoqU (Bookmarks on Delicious)www.rajivnarula.com@rajivnaru...
def test = new BDDMadeEasy(Selenium,EasyB,Groovy)
def test = new BDDMadeEasy(Selenium,EasyB,Groovy)
Upcoming SlideShare
Loading in …5
×

def test = new BDDMadeEasy(Selenium,EasyB,Groovy)

804 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
804
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

def test = new BDDMadeEasy(Selenium,EasyB,Groovy)

  1. 1. def test = newBDDMadeEasy(Selenium,EasyB,Groovy)
  2. 2. Rajiv Narulawww.rajivnarula.com
  3. 3. About you...Java ?Groovy ?BDD ?EasyB ?
  4. 4. AgendaBDDIn actionInterruptions...solicited
  5. 5. What is BDD ?
  6. 6. A little bit of historyDan North
  7. 7. “How will the software behave under specific conditions ?”
  8. 8. Traditional documents
  9. 9.  Requirement Specs  Use Cases Functional Specs  Flow Charts Stories  Many more…
  10. 10. The problem…
  11. 11. “How should the software behave under specific conditions ?”
  12. 12. BDD offers…A template for defining behavior
  13. 13. The templatePre-conditionsStepsExpected behavior
  14. 14. An exampleGiven some preconditionWhen some action by the actorThen some testable outcome is achieved
  15. 15. Another ExampleGiven some preconditionAnd some other preconditionWhen some action by the actorAnd some other actionAnd yet another actionThen some testable outcome is achievedAnd something else we can check happens too
  16. 16. easyB Scriptdescription "As simple as it gets"scenario "Testing easyB setup",{ given "there is some precondition" when "some steps are performed" then "result can be validated"}
  17. 17. Executable Requirements
  18. 18. What’s the big deal ?
  19. 19. Define the behavior of the software
  20. 20. The Three AmigosProduct OwnerBADeveloperTester
  21. 21. Old way-multiple documents
  22. 22. New way- singluar document
  23. 23. Collaboration
  24. 24. Business friendlytesting report
  25. 25. Tractability matrixon steroids
  26. 26. TechnologiesGroovyeasyBSelenium
  27. 27. Groovy
  28. 28. Language for the JVM
  29. 29. Compiles to java byte-code
  30. 30. Excellent compatibility with Java
  31. 31. Syntax similar to Java
  32. 32. Wrap up
  33. 33. So what’s great about BDD- one more time ?
  34. 34. Alternate technologies Cucumber Jbehave Cuke4Duke RSPec
  35. 35. Questions ?
  36. 36. Follow-updannorth.neteasyB.orggroovy.codehaus.orghttp://goo.gl/eQoqU (Bookmarks on Delicious)www.rajivnarula.com@rajivnarularajiv@rajiv.narula.com

×