unit-testing in angular

Watch User Created Playlist (10)

This playlist is user created.

pro-course-rss-logo

PRO RSS Feed

Unit Testing AngularJS

Unit Testing "Hello World"

Testing a Controller

Testing Controllers With Dependencies

P

Testing a Service

P

Unit Testing a Directive

Unit Testing Directive Scope

Unit Testing Directive Scope Binding

P

Speed Testing with WebStorm and Jasmine

P

Testing Underscores

Unit Testing AngularJS

5:18 angularjs

Testing is a first class citizen in AngularJS. It is at its heart and soul. This lesson demonstrates using Karma to write a simple unit test for a Filter.

Unit Testing "Hello World"

2:26 angularjs

This brief intro to unit testing with AngularJS takes a look at how to configure a test, compile an element, and access AngularJS within your tests.

Testing a Controller

1:12 angularjs

AngularJS provides helpers for convenient testing of your application. In this lesson you will learn how to test a basic controller with Jasmine and Angular.

Testing Controllers With Dependencies

3:40 angularjs PRO

In this lesson Trevor looks at testing AngularJS controllers with scope inheritance with Jasmine and test spies.

Testing a Service

2:08 angularjs PRO

Using Jasmine, this lesson will look at testing an AngularJS service.

Unit Testing a Directive

2:14 angularjs

In this lesson you will unit test a simple AngularJS directive

Unit Testing Directive Scope

1:57 angularjs

Unit test your AngularJS directives that make changes to $scope as well as their own isolated scopes.

Unit Testing Directive Scope Binding

2:00 angularjs PRO

Digging a little deeper into unit testing an AngularJS directive, this lesson looks at testing binding across multiple scopes.

Speed Testing with WebStorm and Jasmine

1:20 angularjs PRO

In this lesson John shows some tricks for speeding up your test suite. He digs into some handy features of WebStorm, including the ddescriber plugin, as well as some alternative methods for Jasmine for selectively running your tests.

Testing Underscores

1:27 angularjs

AngularJS injectors understand aliased for core injectables such as $rootScope in unit tests. If you surround your injected object with underscores _$rootScope_ it will be understood and injected into your test by Angular. This allows you to use a local alias of the same name.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?