Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Tutsplus - Testing Angular Components

Posted By: serpmolot
Tutsplus - Testing Angular Components

Tutsplus - Testing Angular Components
English | 12 Jul 2016 | mp4 | H264 1280x720 | AAC 2 ch | 18 min | 251 MB
eLearning | AngularJS, Front-End, Web Apps, Web Development

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. Components are a fairly new addition to the Angular framework, having been released in the 1.5 version, but just like the other Angular constructs like controllers and directives, Angular components are very easy to test.

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 components. You'll learn how to add some basic unit tests for an existing Angular component using Jasmine, and run them from the command line with Grunt and Karma. Along the way, you'll see how a component is a bit like a cross between an Angular directive and a web component, and can make the migration path to Angular 2 smoother.

Screenshots:

Tutsplus - Testing Angular Components

Tutsplus - Testing Angular Components


NO MIRRORS PLEASE

WANT MORE? VISIT MY BLOG!


Tutsplus - Testing Angular Components