Angular unit testing using karma and jasmine tutorial

Описание к видео Angular unit testing using karma and jasmine tutorial

We take a look at the basics of Angular unit testing using karma and jasmine. We cover writing sample unit tests for angular services, components, pipes, directives and router-outlet components. We also take a look at the various karma configurations including generating coverage reports.

Github url - https://github.com/anuroopjoy/angular...
Apple iPhone 13 (128GB) - Blue - https://amzn.to/3Oz5XQB
OnePlus Nord CE 2 5G - https://amzn.to/3PTOWSB
Redmi Note 11 - https://amzn.to/3z27WYf
Redmi Note 10T 5G - https://amzn.to/3PSlCMi

00:00 - Introduction
01:30 - Karma config
05:10 - Unit test for Service
06:00 - describe()
06:30 - beforeEach/beforeAll/AfterEach/AfterAll
07:30 - it()
08:20 - HttpTestingModule
12:24 - Coverage
19:20 - fail()
21:50 - Jasmine spy
24:23 - fakeAsync/tick
26:15 - Unit test for Component
33:14 - Page object
36:52 - Detectchanges for Binding
37:44 - By.css
40:58 - Updating input values
42:35 - waitForAsync/fixture.whenStable
47:03 - Test component level provider/overrideComponent
52:32 - Unit test for Pipe
53:45 - Unit test for Directive
55:55 - By.directive
58:19 - Unit test for router-outlet
1:00:08 - fdescribe
1:02:25 - xdescribe/fit/xit
1:03:07 - Headless Chrome
1:03:52 - Debug tests in Chrome

Комментарии

Информация по комментариям в разработке