Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.
Angular was built from the ground up with testing in mind. The angular-mocks module takes advantage of Angular's unique dependency injection engine to provide mocks and stubs suited for unit, integration, and end-to-end testing of your app. In this lesson, Jeremy reviews testing fundamentals and creates a feedreader using a test-first approach. You will learn how to set up tests with Jasmine, spy on function calls, mock functions on the fly, use the httpBackend to set up web service calls for unit testing, and even create end-to-end tests on the client in your browser using Angular Scenario Runner.
{{toc.Position}} | {{toc.Text}} |