Your SlideShare is downloading. ×
0
Bdd in javascript_with_jasmine
Bdd in javascript_with_jasmine
Bdd in javascript_with_jasmine
Bdd in javascript_with_jasmine
Bdd in javascript_with_jasmine
Bdd in javascript_with_jasmine
Bdd in javascript_with_jasmine
Bdd in javascript_with_jasmine
Bdd in javascript_with_jasmine
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Bdd in javascript_with_jasmine

1,016

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,016
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

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

×