Hanselminutes with Scott Hanselman cover image

Getting Started with JavaScript Unit Testing with Jasmine and Rushaine McBean

Hanselminutes with Scott Hanselman

00:00

The Essentials of Jasmine

I write as many Jasmine tests as I can when I find them necessary, but I find that it's a nice complement to the integration test because you don't need to fire up the browser every time for something. Typically, once I'm done with the feature and I've written my test for it, then I'll most likely run the whole build on my machine first before pushing out. You're not doing this in the browser. It's all the command line. And you just go over, you hit grunt and then see the results in the command line there. You know right away whether the thing works.

Play episode from 23:56
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app