kgish / angular-unit-testing-workshop

Angular unit testing workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular Unit Testing Workshop

This is the company workshop I created about Angular Unit Testing adapted from the online Unit Testing Angular Course created by Joe Eames.

Angular provides out of the box set of tools to help us unit test our code, but all those tools and techniques need to be learned.

In this course, Unit Testing in Angular, you will learn how to effectively unit test your Angular code.

First, you will learn to write isolated tests to quickly and easily test services, pipes, and components.

Next, you will explore integration tests, used to test your components with their templates.

Then, you will see how to deal with advanced topics like asynchronous code.

Finally, and most importantly, you will know what it means to write effective, maintainable unit tests.

When you are finished with this course, you will feel confident in your ability to write good unit tests for your Angular projects.

Installation

$ git clone git@gitlab.com:kiffin/angular-unit-testing-workshop.git
$ cd angular-unit-testing-workshop
$ npm install

Start App

$ npm run start

Test App

$ npm run test

Contents

The workshop consists of the following modules:

References

About

Angular unit testing workshop


Languages

Language:TypeScript 79.3%Language:CSS 8.7%Language:HTML 7.0%Language:JavaScript 5.0%