As discussed before, automating tasks is a necessity in CI. You can perform many types of test, and not necessarily all of them at once. According to a test automation strategy introduced by Mike Cohn, tests can be represented by the following pyramid:
Unit tests are narrow in scope and typically verify the behavior of individual methods or functions.
Integration tests make sure that multiple components behave correctly together. This can involve several classes, as well as testing the integration with other services.
Acceptance tests are similar to the integration tests, but they focus on the business cases rather than the ...