YUNOVA · Angular · Module 9: Testing Angular apps

Unit testing with Jasmine and Karma

Notes for offline study · 3 November 2026

Unit testing with Jasmine and Karma

Key points

  • Jasmine gives describe, it and expect to write test specs.
  • Karma runs the specs in a real browser and reports results.
  • ng test starts Karma and reruns tests when files change.