Testing Angular Filters

Posted By: ELK1nG

Testing Angular Filters
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 181 MB | Duration: 13 minutes

Unit testing is a key tool for ensuring the correctness of our software, and Angular apps are no exception! In fact, part of what makes Angular so amazing is that it's a framework written from the ground up with testing in mind. Filters in Angular are often smaller and simpler than other Angular constructs like controllers or directives, but just like these other parts that make up an Angular application, filters can and should be unit tested to ensure they work as intended.

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 filters. You'll see how to write unit tests with Jasmine and then use Karma to run the tests from the command line.

Watch the other Coffee Break Courses in the Angular testing series:

Testing Angular Controllers
Testing Angular Directives
Testing Angular Services
Testing Angular Components
We've built comprehensive guides to help you learn JavaScript, AngularJS, and Angular 2, whether you're just getting started or you want to explore more advanced topics.

Learn JavaScript: The Complete Guide
Learn AngularJS
Learn Angular 2