• Stars
    star
    279
  • Rank 147,967 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Angular Testing Course - A complete guide to Angular Unit Testing and E2E Testing

Angular Testing Course

This repository contains the code of the Angular Testing Course.

This course repository is updated to Angular v16, and there is a package-lock.json file available, for avoiding semantic versioning installation issues.

Angular Testing Course

Installation pre-requisites

Please install Node 18 Long Term Support Edition (LTE).

Installing the Angular CLI

With the following command the angular-cli will be installed globally in your machine:

npm install -g @angular/cli 

How To install this repository

We can install the master branch using the following commands:

git clone https://github.com/angular-university/angular-testing-course.git

This repository is made of several separate npm modules, that are installable separately. For example, to run the au-input module, we can do the following:

cd angular-testing-course
npm install

Its also possible to install the modules as usual using npm:

npm install 

NPM 5 or above has the big advantage that if you use it you will be installing the exact same dependencies than I installed in my machine, so you wont run into issues caused by semantic versioning updates.

This should take a couple of minutes. If there are issues, please post the complete error message in the Questions section of the course.

To Run the Development Backend Server

We can start the sample application backend with the following command:

npm run server

This is a small Node REST API server.

To run the Development UI Server

To run the frontend part of our code, we will use the Angular CLI:

npm start 

The application is visible at port 4200: http://localhost:4200

Important

This repository has multiple branches, have a look at the beginning of each section to see the name of the branch.

At certain points along the course, you will be asked to checkout other remote branches other than master. You can view all branches that you have available remotely using the following command:

git branch -a

The remote branches have their starting in origin, such as for example 1-navigation-and-containers.

We can checkout the remote branch and start tracking it with a local branch that has the same name, by using the following command:

  git checkout -b section-1 origin/1-navigation-and-containers

It's also possible to download a ZIP file for a given branch, using the branch dropdown on this page on the top left, and then selecting the Clone or Download / Download as ZIP button.

Other Courses

Angular Core Deep Dive Course

If you are looking for the Angular Core Deep Dive Course, the repo with the full code can be found here:

Angular Core Deep Dive

RxJs In Practice

If you are looking for the RxJs In Practice, the repo with the full code can be found here:

RxJs In Practice Course

NgRx In Depth

If you are looking for the NgRx In Depth, the repo with the full code can be found here:

Angular Ngrx Course

Serverless Angular with Firebase Course

If you are looking for the Serverless Angular with Firebase Course, the repo with the full code can be found here:

Serverless Angular with Firebase Course

Angular Universal Course

If you are looking for the Angular Universal Course, the repo with the full code can be found here:

Angular Universal Course

Angular PWA Course

If you are looking for the Angular PWA Course, the repo with the full code can be found here:

Angular PWA Course - Build the future of the Web Today

Angular Security Masterclass

If you are looking for the Angular Security Masterclass, the repo with the full code can be found here:

Angular Security Masterclass.

Angular Security Masterclass

Angular Advanced Library Laboratory Course

If you are looking for the Angular Advanced Course, the repo with the full code can be found here:

Angular Advanced Library Laboratory Course: Build Your Own Library.

Angular Advanced Library Laboratory Course: Build Your Own Library

RxJs and Reactive Patterns Angular Architecture Course

If you are looking for the RxJs and Reactive Patterns Angular Architecture Course code, the repo with the full code can be found here:

RxJs and Reactive Patterns Angular Architecture Course

RxJs and Reactive Patterns Angular Architecture Course

Complete Typescript Course - Build A REST API

If you are looking for the Complete Typescript 2 Course - Build a REST API, the repo with the full code can be found here:

https://angular-university.io/course/typescript-2-tutorial

Github repo for this course

Complete Typescript Course

More Repositories

1

angular-material-course

Angular Material In Depth
TypeScript
483
star
2

rxjs-course

RxJs In Practice Course - https://angular-university.io/course/rxjs-course
TypeScript
370
star
3

ngrx-course

NgRx (with NgRx Data) -The Complete Guide
TypeScript
366
star
4

angular-course

Angular Core Deep Dive (Video Course) - https://angular-university.io/course/angular-course
TypeScript
323
star
5

reactive-angular-course

How to build Angular applications in Reactive style using plain RxJs - Patterns and Lightweight state management
TypeScript
297
star
6

angular-pwa-course

Angular PWA Course - Build Progressive Web Applications
TypeScript
180
star
7

courses

Contains the Angular For Beginners Course, Angular Forms, Router and RxJs Jumpstart Courses
TypeScript
177
star
8

firebase-course

Firebase & AngularFire In Depth
TypeScript
161
star
9

angular-ssr-course

Angular SSR In Depth (formerly Angular Universal) - Use Angular on the server too! Learn Angular Server-Side Rendering
TypeScript
153
star
10

ngrx-course-v4

Contains the NgRx Store and Reactive Extensions Course
TypeScript
151
star
11

ngrx-course-v7

Angular Ngrx Course - includes Store, Effects, Entity, Router Store, Schematics
TypeScript
142
star
12

angular-firebase-app

The code for the Angular and Firebase - Build a Web App Course
TypeScript
123
star
13

reactive-patterns-course

Contains the code for the RxJs & Reactive Patterns Angular Architecture Course
TypeScript
119
star
14

typescript-course

Contains the code for the Complete Typescript Course - Build a Node REST API
TypeScript
108
star
15

angular-forms-course

Angular Forms In Depth (Video Course)
TypeScript
101
star
16

angular-security-course

Angular Security Course
TypeScript
100
star
17

nestjs-course

NestJs In Practice Course (with MongoDB)
TypeScript
100
star
18

angular-advanced-course

Angular Advanced Library Laboratory Course - Build Your Own Library
TypeScript
90
star
19

angular-router-course

Angular Router In Depth (Video Course)
TypeScript
58
star
20

angular-for-beginners-starter

A beginner friendly playground for Getting Started with Angular, by the Angular University
JavaScript
55
star
21

stripe-course

Stripe Payments In Practice - Build your own online ecommerce store and subscription membership website
TypeScript
43
star
22

au-input

Angular Icon Input Box Components - Font Awesome and Material Design Input Boxes
JavaScript
37
star
23

ng-template-example

TypeScript
35
star
24

angular-firebase-app-starter

The starting point of the Angular and Firebase - Build a Web Application Course
TypeScript
33
star
25

angular-ebook

Contains the code for the Step-by-Step Angular Guide Ebook
TypeScript
29
star
26

angular-http-guide

Sample Application for the Blog post Angular HTTP Client Quickstart Guide
TypeScript
25
star
27

angular-signals-course

Modern Angular With Signals Course
TypeScript
22
star
28

typescript-bootcamp

Typescript: The Ultimate Bootcamp
TypeScript
20
star
29

angular-viewchild-examples

Complete set of examples for the Angular @ViewChild decorator
TypeScript
18
star
30

angular-router-menu-system

An example of how to build a menu navigation system using the Angular 2 Router
TypeScript
12
star
31

angular-component-styling

Sample application for the Complete Angular Styling Guide
TypeScript
8
star
32

service-workers-guide

Sample application for the blog post Service Workers: The Complete Guide
HTML
6
star
33

email-courses

Code for the Angular University Email Courses
TypeScript
1
star