• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Bdd in javascript_with_jasmine
 

Bdd in javascript_with_jasmine

on

  • 1,216 views

 

Statistics

Views

Total Views
1,216
Views on SlideShare
1,214
Embed Views
2

Actions

Likes
1
Downloads
1
Comments
0

2 Embeds 2

http://www.linkedin.com 1
https://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 Bdd in javascript_with_jasmine Presentation Transcript

    • BDD In Javascript
      Using Jasmine
      A Javascript BDD Framework
    • What is BDD
      No, its not German engineered stainless steel blades, but it is statements that describe interactions between components in your software
    • An Example
      To Ze Code
    • Could This example have been written faster and better using BDD
    • BDD to the rescue
    • Jasmine Building Blocks
      matchers
      spies
      it
      describe
      before / after
      spec.html
    • An Example using BDD
      To Ze Code
    • Exercise
    • 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