Bdd in javascript_with_jasmine
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Bdd in javascript_with_jasmine

on

  • 1,250 views

 

Statistics

Views

Total Views
1,250
Views on SlideShare
1,247
Embed Views
3

Actions

Likes
1
Downloads
1
Comments
0

2 Embeds 3

https://www.linkedin.com 2
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Bdd in javascript_with_jasmine Presentation Transcript

  • 1. BDD In Javascript
    Using Jasmine
    A Javascript BDD Framework
  • 2. What is BDD
    No, its not German engineered stainless steel blades, but it is statements that describe interactions between components in your software
  • 3. An Example
    To Ze Code
  • 4. Could This example have been written faster and better using BDD
  • 5. BDD to the rescue
  • 6. Jasmine Building Blocks
    matchers
    spies
    it
    describe
    before / after
    spec.html
  • 7. An Example using BDD
    To Ze Code
  • 8. Exercise
  • 9. Lets Go Bowling
    Rules:
    1. Highest score is 300
    2. Total of 10 frames
    3. Two Bowling attempts in each frame
    4. A Spare is scored by adding 10 to the number of pins knocked down in the first bowl in the next frame
    5. A Strke is scored by adding 10 to the total number of pins knocked down in the next frame