FREELessons: 15Length: 1.8 hours

Next lesson playing in 5 seconds


JavaScript Testing With Jasmine 2.0



In this course we'll learn all about Jasmine, the unit test framework for JavaScript. We'll cover how to set up Jasmine to be used with Grunt and Node.js so that we can run the unit tests automatically as part of a build process, and we'll delve into all of the different features that the framework has to offer. Starting with the structure of our test files, through to mocking dependencies, using asynchronous specs, adding plugins for things like jQuery and working with RequireJS modules.

We've built a comprehensive guide to help you learn JavaScript, whether you're just getting started as a web developer or you want to explore more advanced topics: