~/talk

Angular Testing: Do I Really Have to Do It?!

TalkinItalianat Angular Day 2017 · 2017-06-15..06-16· [testing, angular]
slides:none on file

A pragmatic walkthrough of Angular testing using Karma, Jasmine and Protractor: a demo project shows running ng test with over 90 unit specs, covers building stubs and spies, using TestBed and fixture.detectChanges to exercise templates and DI, and handling async with fakeAsync/tick. It highlights common pitfalls (e.g. forgetting done leading to false green tests), advises keeping dependencies minimal and using controlled environments, and shows integrating coverage into CI so the test suite runs green after fixes.

AI-written summary · about

  1. 0:00Angular testing necessity
  2. 1:53Jasmine and Karma intro
  3. 3:16Test doubles: stubs, spies, mocks
  4. 7:17Effective test strategies
  5. 9:04Angular Testing Utilities basics
  6. 12:15Unit test with Jasmine
  7. 15:44Handling async in tests
  8. 21:44Testing services and pipes
  9. 24:53Component testing with TestBed
  10. 33:43Change detection in tests
  11. 36:57Testing components with dependencies
  12. 41:12Advanced async tests
  13. 46:17Configuring external modules
  14. 47:22Testing inputs/outputs
  15. 48:25Code coverage tools
  16. 49:49CI/CD test integration
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.