~/talk

Turbocharge Your Angular Testing Workflow

Talkat ng-conf 2017 · 2017-04-05..04-07· [angular, testing]
links:none on file
slides:none on file

The CLI scaffolds tests so ng test launches Chrome in watch mode and supports flags like single-run and code-coverage to emit lcov reports; add the Karma spec reporter + text summary in plugins to see each spec and a coverage summary in the terminal. Integrate WABJS for real-time feedback in VS Code. Use TestBed objects—fixture, component instance, debugElement—to change inputs and run change detection. Enforce coverage with the karma is symbol threshold plugin and block commits with Husky pre-commit/pre-push scripts.

AI-written summary · about

  1. 0:00Introduction
  2. 0:34Setup and Configuration
  3. 1:37Real-time Feedback
  4. 2:24Angular Testing API
  5. 3:12Test Organization
  6. 4:30Enforcing Coverage
  7. 5:03Git Hooks and Conclusion
~/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.