Angular Testing In Depth: Components

Components enable us to display content on our website. The Angular compiler parses component templates and displays them according to the given state. The business logic inside the components can be tested with traditional unit tests just like services. But what happens with the displayed HTML from the template and the interaction with other components?

In this tutorial we’ll show you how to test the rendered components, starting from isolated unit tests to fully integrated ones.

Read on!