• Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
985
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
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