Natural Language UI Testing Using Behavior-Driven Development With Pavlo...
What is BehaviorDriven Development? (BDD)
“BDD is a second-generation, outside-in, pull-based, multiple-stakeholder,multiple-scale, high-automation, agilemethodolog...
What is Pavlov?
Behavioral API over QUnit by Michael Monteleonehttp://github.com/mmonteleone/pavlov
The Goal:The login form should progressively enhance a form by id. should hide a field label when the field has focus. ...
Let’s Write Some Code!
Demo
Other Features• Custom Assertions• Expected Exceptions• Doesn’t Pollute the Global Scope• Run from Command Line or CI Server
Future of Pavlov• Testing-framework-neutral refactor in-progress
Materials • Source on GitHub: • Slides on SlideShare:Questions/Comments • Twitter: @edelabar • Email: emd@trifecta.com...
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit
of 32

Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit

Slides from my talk at jQuery Conference: San Francisco Bay Area 2011 (http://spkr8.com/t/7239)
Published on: Mar 3, 2016
Published in: Technology      
Source: www.slideshare.net


Transcripts - Natural Language UI Testing using Behavior Driven Development with Pavlov and QUnit

  • 1. Natural Language UI Testing Using Behavior-Driven Development With Pavlov and QUnitEric DeLabarSolutions Architect at Trifecta Technologieshttp://www.trifecta.com/
  • 2. What is BehaviorDriven Development? (BDD)
  • 3. “BDD is a second-generation, outside-in, pull-based, multiple-stakeholder,multiple-scale, high-automation, agilemethodology. It describes a cycle ofinteractions with well-defined outputs,resulting in the delivery of working,tested software that matters.”
  • 4. What is Pavlov?
  • 5. Behavioral API over QUnit by Michael Monteleonehttp://github.com/mmonteleone/pavlov
  • 6. The Goal:The login form should progressively enhance a form by id. should hide a field label when the field has focus. should show a field label when the field is empty when the cursor leaves. should keep a field label hidden when the field is not empty when the cursor leaves. should validate that the email field is valid when the cursor leaves. should submit the form when the user clicks the Join button. should submit to the action URL of the form with an AJAX POST. should hide the form if the user credentials are ok.
  • 7. Let’s Write Some Code!
  • 8. Demo
  • 9. Other Features• Custom Assertions• Expected Exceptions• Doesn’t Pollute the Global Scope• Run from Command Line or CI Server
  • 10. Future of Pavlov• Testing-framework-neutral refactor in-progress
  • 11. Materials • Source on GitHub: • Slides on SlideShare:Questions/Comments • Twitter: @edelabar • Email: emd@trifecta.com • SpeakerRate: http://spkr8.com/s/11957

Related Documents