Tutsplus - Testing Angular Services
English | 1 Apr 2016 | mp4 | H264 1280x720 | AAC 2 ch | 0.2 hrs | 131 MB
eLearning | AngularJS, Front-End, Web Apps, Web Development, Single Page Web App, TDD, Test-Driven Development, BDD, Behaviour-Driven Development, Karma, Unit Testing
In this Coffee Break Course, Envato Tuts+ instructor Dan Wellman will show you how to take an existing Angular app and add tests for one of its custom services. We'll see how to inject the service and its dependencies for testing, and how to stub methods in those dependencies with Sinon.
This is part of a series of Coffee Break Courses on testing in Angular.