Automated Tests
When working with CI/CD pipelines, an important component to tae into consideration is the Software Development Life Cycle (SDLC) automation. We need to have automated tests for our software code before deploying to production.
Here are approaches we can take to ensure we have quality software in all environments:
Unit Test
are conducted be developers and are used to test a module or component that has been coded by the developer. Unit testing checks a single component of an application.Integration Test
is the approach in which multiple components of applications are combined and tested in a group. The purpose of this level of testing is to expose faults in the interaction between units of an application.Regression Test
is required when new software is released, to test new functionality. This also aims to re-run old tests that the application previously passed, to ensure that new software does not re-introduce old defects or create new ones.