Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Selenium + Specflow

6,079 views

Published on

Acceptance Test Driven Development for .Net

Published in: Technology

Selenium + Specflow

  1. 1. me => (Ryan Cromwell)
  2. 2. What I do…CoderAgile CoachALM MVP
  3. 3. SELENIUM
  4. 4. What is Selenium?“Selenium automates browsers.”http://seleniumhq.org/
  5. 5. Which Selenium isfor me?IDE WebDriver• Record and Playback • Create robust regression scripts• Create quick bug reproduction scripts • Scale and distribute scripts across many environments• Create scripts to aid later automation • API (Java, .Net, Ruby, Javascript,• Not scalable Python, others)
  6. 6. Show me the code!
  7. 7. SPECFLO
  8. 8. What is SpecflowBDD – Behavior DrivenDevelopmentGherkin –Given, When, Then… plusothersTop of the testing pyramidhttp://specflow.org/
  9. 9. Show me thefeature!
  10. 10. How does that dostuff?
  11. 11. <!{}>DEMO
  12. 12. TipsThink in behaviors rather than actionsThink Clean CodePage ObjectsScale out
  13. 13. Tools You WillNeedSelenium (install-package Selenium.WebDriver)Selenium Helpers (install-package Selenium.Support)SpecFlow (install-package specflow, specflow.org)NUnit (install-package nunit)ShouldFluent (install-package)
  14. 14. RealityTest Code is Production CodeConfidenceDiscipline
  15. 15. Find this code github.com/cromwellryan
  16. 16. @cromwellryan blog.cromwellhaus.com

×