Instructor: Dan Wellman
Unit testing is a key tool for ensuring the correctness of our software. Angular apps are no exception! In fact, part of what makes Angular so amazing is that it is a framework written from the ground up with testing in mind.
If you haven't unit tested an Angular application before, you might not be aware that there are some extra features that we can use to make testing easier, such as hooking into Angular's dependency injection, and using angular-mocks for a range of test-friendly utilities.
In these Coffee Break Courses, designed to teach a new skill or concept in a single sitting, Envato Tuts+ instructor Dan Wellman will show you how to take an existing Angular app and add tests for its controller, services and directives. A final course will teach you how to do integration testing with Protractor and Cucumber.
This repository contains a simple app for writing plain-text notes. There are branches to illustrate writing tests for:
- Angular controllers
- Angular directives
- Angular services
- Angular filters
- Angular components
- End-to-end testing
To contribute to this app, please visit Dan's original repository for this project.
These are source files for the Envato Tuts+ course:
As well as for the Coffee Break courses:
- Testing Angular Controllers
- Testing Angular Directives
- Testing Angular Services
- Testing Angular Filters
- Testing Angular Components
- Testing Angular End-to-End With Protractor and Cucumber
Available on Tuts+. Teaching skills to millions worldwide.