Date post: | 11-May-2015 |
Category: |
Technology |
Upload: | cromwellryan |
View: | 3,798 times |
Download: | 3 times |
Seleniu
m +
SpecFlo
w
me =>
(Ryan Cromwell)
What I do…Coder
Agile Coach
ALM MVP
SELENIUM
Which Selenium is for me?IDE• Record and Playback
• Create quick bug reproduction scripts
• Create scripts to aid later automation
• Not scalable
WebDriver• Create robust regression
scripts
• Scale and distribute scripts across many environments
• API (Java, .Net, Ruby, Javascript, Python, others)
Show me the code!
SPECFLOW
What is SpecflowBDD – Behavior Driven Development
Gherkin – Given, When, Then… plus others
Top of the testing pyramid
http://specflow.org/
Show me the feature!
How does that do stuff?
DEMO
<!{}>
TipsThink in behaviors rather than actions
Think Clean Code
Page Objects
Scale out
Tools You Will NeedSelenium (install-package Selenium.WebDriver)
Selenium Helpers (install-package Selenium.Support)
SpecFlow (install-package specflow, specflow.org)
NUnit (install-package nunit)
ShouldFluent (install-package)
RealityTest Code is Production Code
Confidence
Discipline
Find this code
github.com/cromwellryan
Thanks!
@cromwellryan blog.cromwellhaus.com