In the last two Testing Tuesday episodes we got familiar with Jasmine. If you haven’t already, watching Testing Tuesday #16 will make it easier to follow along with this episode.
Jasmine provides two strategies for testing asynchronous operations:
- Waiting for certain events to occur until a timeout
In this screencast we cover both strategies and show you which one is appropriate for which situation.
Up Next Testing Tuesday: Testing Node.js Applications
So far we’ve used Jasmine only in the web browser. Next week we’ll show you how to test your Node.js applications with Jasmine. If you’ve got any questions or suggestions, please leave us a comment!
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)