Unit and Integration Testing

Unit Tests

Unit tests are very low level, close to the source of your application. They consist in testing individual methods and functions of the classes, components or modules used by your software. Unit tests are in general quite cheap to automate and can be run very quickly by a continuous integration server.

Integration tests

Integration tests verify that different modules or services used by your application work well together. For example, it can be testing the interaction with the databaseĀ or making sure that microservices work together as expected. These types of tests are more expensive to run as they require multiple parts of the application to be up and running.