Angular Testing: Unit Testing Angular and E2E Testing
Preparing tools
Why do we need testing?
(02:30)
I prepared source code for you
(00:28)
Setting up Node and creating Angular project
(03:13)
Unit Testing
What is unit testing?
(01:41)
Setting up Jest
(04:45)
Testing utilities and helpers
(10:32)
Basic testing Angular service
(09:14)
Mock Angular dependencies and Spy Angular dependencies
(11:48)
Testing RxJS in Angular
(04:34)
Testing HTTP in Angular
(10:48)
Testing HTTP request and response in Angular
(02:23)
Testting HTTP errors in Angular
(04:43)
Testing Angular service
(18:56)
Testing Angular components
Testing simple Angular component
(09:41)
Testing inputs and outputs in Angular components
(09:53)
Mock dependencies in Angular
(02:22)
Testing real Angular components: footer
(12:24)
Testing real Angular components: header
(07:16)
Testing real Angular components: main
(15:19)
Testing real Angular components: todo
(11:10)
Angular async testing: fakeAsync and waitForAsync
(08:04)
Testing Angular guards
(07:54)
Testing NgRx
Testing NgRx reducers
(08:55)
Testing NgRX components
(07:47)
Angular E2E testing
What is E2E testing?
(03:15)
E2E Testing in Angular on real project
(25:33)
Homework
Homework
(00:48)
Setting up Jest
Download
sourceCode.zip