Date for Desert Code Camp - 2017.1  Saturday, October 14, 2017 8:00:00 AM - Saturday, October 14, 2017 6:00:00 PM

Angular Unit Testing from the Trenches

For a number of years now we have been hearing about all of the benefits that automated unit testing provides like increasing our quality, catching errors earlier, ensuring that all developers are testing in the same manner and deploying updates with high confidence that nothing will break. Testing a Web UI though was difficult and fragile which meant that typically we had no automated unit test for our Web UI. This is no longer the case with the latest release of Angular. Unit testing is now a first class citizen in Angular. Out of the box, the project generated by the Angular CLI has unit testing setup with Karma and Jasmine and includes sample tests. Generating new components, services, and pipes includes the unit test Spec file already wired up. Thus allowing you to focus on writing your unit tests and not on the infrastructure needed to get them running. The barriers to writing unit test have been destroyed. This talk will walk through getting started unit testing your Angular components, services, and pipes. Along the way I will share the tips and tricks that I have learned as I have implemented unit testing on my Angular projects at a Fortune 100 company. You will walk away ready to immediately implement unit testing on your Angular project.

Track

Javascript/Node.js

About the session

The session is approved.

The presenter will not allow another presenter.

There are 64 people interested in this session.

Presenters

Justin James

Scheduled

Room
IRN-123
Time
11:00 AM - 12:00 PM
Calendar File
 Download

Files

Heads up!  Log in to sign up to teach or attend this session.
Edit Session