~/talk

Techniques and practices for testing Angular

Talkat NDC Sydney 2017 · 2017-08-14..08-18· [angular, testing]
slides:none on file

Shows how to test an Angular app end-to-end and unit-level using Angular CLI, Karma, Jasmine, Protractor and Wallaby. Builds a tiny “Chuck Norris jokes” component and service, uses Jasmine spies and hand-rolled fakes to stub getJoke, exercises templates via TestBed configureTestingModule and fixture.debugElement queries, and demonstrates async patterns with fakeAsync + tick (simulates a 2s delayed response). Wallaby speeds feedback; one live Protractor demo times out during the session.

AI-written summary · about

  1. 0:00Introduction to angular testing
  2. 2:06Testing tools and landscape
  3. 5:10Testing framework overview
  4. 10:21Basic component testing
  5. 16:09Faking dependencies
  6. 25:05Using the TestBed API
  7. 36:03Asynchronous testing
  8. 47:01End-to-end testing
~/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.