×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

Jasmine - why JS tests don't smell fishy

by on Jul 04, 2013

  • 1,219 views

Presentation about Jasmine - BDD

Presentation about Jasmine - BDD

Statistics

Views

Total Views
1,219
Views on SlideShare
1,219
Embed Views
0

Actions

Likes
3
Downloads
15
Comments
4

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

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

14 of 4 previous next Post a comment

  • IgorNapierala Igor Napierala @santosharakere Yes it is clear, I should add that one line with .andCallThrough and change to .toHaveBeenCalled or change the title of slide to 'can check to be called with smth' :) Thank you once again for your comment. 3 months ago
    Are you sure you want to
    Your message goes here
    Processing…
  • santosharakere Santosh Arakere, Performance Test Architect at Hewlett-Packard slide 25 is explaining CallThrough. The code (and the bottom line) is using toHaveBeenCalledWith which is not right. Call through is achieved by chaining the spy with andCallThrough. Search http://pivotal.github.io/jasmine/

    The toHaveBeenCalledWith matcher will return true if the argument list matches any of the recorded calls to the spy.

    Hope its clear.
    3 months ago
    Are you sure you want to
    Your message goes here
    Processing…
  • IgorNapierala Igor Napierala @santosharakere Could you write what is incorrect. Thank you 3 months ago
    Are you sure you want to
    Your message goes here
    Processing…
  • santosharakere Santosh Arakere, Performance Test Architect at Hewlett-Packard The slide 'Call through function' is not correct. 3 months ago
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Jasmine - why JS tests don't smell fishy Jasmine - why JS tests don't smell fishy Presentation Transcript