Blog

18 May, 2020

Automated Testing in Angular: Integration tests

Author: Gergely Bikki

So previously we have taken a look at multiple approaches to writing maintainable unit tests. These bite-sized test cases were validating individual business logic sections, however they do not provide an overview of how well these individual sections are playing together.

This is where integration testing comes into play: we are going to test whole workflows of the application.

More »
11 May, 2020

Automated Testing in Angular: Unit tests

Author: Gergely Bikki

In the previous, introductory post we have taken a brief look at the traits of different types of automated tests. Now we are going to take a deeper dive into the nature of one of these: unit tests.

Unit tests are bite-sized, isolated scripts aiming to validate the behaviour of individual blocks in the application. We usually aim to write unit tests only for essential parts of the application (eg. crucial business logic, container components) and avoid testing presentational logic.

More »
04 May, 2020

Automated Testing in Angular: Introduction

Author: Gergely Bikki

Having enough test cases for an application is crucial. This way we are providing a clear track of the application’s functionality, making sure we are not breaking anything accidentally. We can use this to prove that the application is indeed functioning properly before cutting a new release. In case new developers are joining the project, there’s a good chance that our automated tests are going to contribute to an easier learning curve.

More »