Overview of Angular Testing

Test all the things!

Watch User Created Playlist (21)

This playlist is user created.

pro-course-rss-logo

PRO RSS Feed

Unit Testing "Hello World"

Unit Testing AngularJS

Unit Testing a Directive

Unit Testing Directive Scope

Unit Testing Directive Scope Binding

P

Testing a Controller

Testing Controllers With Dependencies

P

Testing a Service

P

Testing Underscores

Angular with Webpack - Testing with Karma, Mocha, and Chai

P

e2e Testing AngularJS Apps with Protractor and SauceLabs

P

Speed Testing with WebStorm and Jasmine

P

Getting Started With Protractor

Protractor Interactive

Testing With Protractor Page Objects

P

Test Simple Binding With Protractor

P

Protractor: Running tests on multiple browsers

P

Using Protractor to Test Mobile Safari with Appium

P

Locators and Suites in Protractor

P

Automated screenshots of your e2e Protractor tests

Use protractor to catch errors in the console

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.

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 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.

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.

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.

angularjs tutorial about Angular with Webpack - Testing with Karma, Mocha, and Chai

Angular with Webpack - Testing with Karma, Mocha, and Chai

10:22 angularjs PRO

Testing in Angular applications takes a bit of setup. Webpack simplifies things considerably. In this lesson you'll see how to test an Angular application built with Webpack using karma, mocha, and chai.

angularjs tutorial about e2e Testing AngularJS Apps with Protractor and SauceLabs

e2e Testing AngularJS Apps with Protractor and SauceLabs

6:48 angularjs PRO

When you are running end-to-end (e2e) tests against your AngularJS apps, they will need to be run against a rainbow of varied browsers. This can be a logistics nightmare, but luckily there are services like SauceLabs that can make this much more manageable. In this lesson, we will take a look at configuring and running e2e tests with SauceLabs.

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.

Getting Started With Protractor

3:25 angularjs

Protractor is an end-to-end testing library for AngularJS. This video lesson will walk through getting Protractor installed and writing your first test.

angularjs tutorial about Protractor Interactive

Protractor Interactive

1:44 angularjs

Did you know that Protractor has a handy interactive mode to help with writing/debugging your end-to-end (e2e) tests?

Testing With Protractor Page Objects

3:28 angularjs PRO

Protractor Page Objects are a recommended for testing your AngularJS applications. Page Objects abstract the interaction between the browser and your functional tests, resulting in much cleaner tests.

Test Simple Binding With Protractor

2:24 angularjs PRO

Protractor is built to interact with AngularJS applications. In this lesson, we will take a look at how Protractor interacts with the application using its element and finder functions.

angularjs tutorial about Protractor: Running tests on multiple browsers

Protractor: Running tests on multiple browsers

8:12 angularjs PRO

Testing your AngularJS application on multiple browsers is important, and Protractor offers this ability through the multiCapabilities configuration option. Learn how to use this option, as well as configure your e2e tests to run on only a single browser for rapid development.

The full source for the base project can be downloaded here

angularjs tutorial about Using Protractor to Test Mobile Safari with Appium

Using Protractor to Test Mobile Safari with Appium

4:57 angularjs PRO

When running end-to-end tests with Protractor for your AngularJS applications, you'll want to test mobile as well. Appium helps make that happen.

angularjs tutorial about Locators and Suites in Protractor

Locators and Suites in Protractor

7:12 angularjs PRO

Let's take a deeper look at selecting specific elements on the page with Protractor locators. We can also divide our tests up into specific suites of related tests with a bit of configuration.

angularjs tutorial about Automated screenshots of your e2e Protractor tests

Automated screenshots of your e2e Protractor tests

7:52 angularjs

It can be useful to capture screenshots of your end-to-end functional tests with protractor. Because protractor tests are "just node", it is very straight forward.

angularjs tutorial about Use protractor to catch errors in the console

Use protractor to catch errors in the console

2:23 angularjs

Protractor gives you access to the console log while it is testing. This functionality could be used to verify that no errors are occurring, or other similar things you might want to test.

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