What is Component Testing?

Component testing is a subset of software testing that involves testing each component of a software application independently without combining them. In the context of architecture, this is usually associated with unit testing.

A software application usually consists of several parts or components, and component testing addresses each of these components separately. Component testing is one of the most common types of black box testing.

Angular playground with Cypress

As previously mentioned, the main reason for Component Testing is to develop tests on an isolated component, for this we use Angular Playground, a library that facilitates this work by setting up a server where it creates a sandbox of the component to be tested. So, with Cypress we access the component instance to start testing it!

Last updated