Tag: Unit Testing

Testing AngularJS Templates, Directives, Controllers, Services, Factories, and Filters

Angular is a framework that offers impressive testing ability through unit tests and template-based testing, which we will consider template-based unit testing.

Common Jasmine Matchers for AngularJS

Below are some useful matchers for AngularJS testing. Add them to a file called “matchers.js” and be sure to add that file to your test runner.

Unit testing Angular the right way

There are a number of different methods used to test code, we’ll discuss integration testing and unit testing. A unit test is a test which is written to verify the functionality of a relatively small piece of code…. Read More