Common test scenarios

Let’s move on to looking at some examples of the types of tests we may have in our Angular applications. While the functionality of each Angular application is different, there are some common types of tests we may write in our application.

The scenarios we’re going to look at are as follows:

  • A test that accesses the template of a component
  • A test that checks the @Input() and @Output() attributes of the component
  • A test for a service

Get hands-on with 1400+ tech skills courses.