Component Testing (DRAFT) 4.0
package:testwill have a familiar feel. Testing basics is covered in Writing component tests: Basics. For in-depth coverage of the package capabilities, see the
package:angular_test, which complements the standard test package by providing a means of interacting with Angular components created as test fixtures.
package:mockito, a library for creating mock objects. Not all component tests require mock objects, but in later sections, you’ll learn the fundamentals of using
package:mockitoas needed — for complete details consult the package documentation.
These are the component testing topics covered in this guide:
- Component testing
- Running component tests
- Writing component tests