~/talk

Testing Angular apps

Talkat ngVikings 2018 · 2018-03-01..03-02· [testing]
slides:none on file

Uses the Angular CLI and Karma, Jasmine and Protractor to show concrete test patterns: a runnable Angular Excel demo that evaluates formulas, cell references and functions, plus examples of unit, integration, shallow and e2e tests. Shows how to mock services, test the component class without Angular, use fakeAsync and marble testing, and weighs speed versus brittleness. Demo test suite completes with 26 tests pass, arguing for pragmatic, value-driven test choices over dogma.

AI-written summary · about

  1. 0:00Introduction
  2. 0:57Story
  3. 3:00Moral
  4. 3:11Testing Angular
  5. 4:29What is testing
  6. 5:50Angular app overview
  7. 7:36Angular Excel example
  8. 9:33Testing only one component
  9. 10:55Testing all components together
  10. 13:10Testing Excel component
  11. 13:56Mock service
  12. 15:07Split component
  13. 15:38Create component
  14. 17:00Cell component
  15. 19:20Types of tests
  16. 21:14Why write tests
  17. 24:09Best practices
~/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.