• Post category:StudyBullet-7
  • Reading time:4 mins read


Running Integration tests in CI Pipeline

What you will learn

Run Integration Tests in the CI Pipeline

Description

In a development environment that implements a robust CI/CD pipeline, it would be nice if integration tests could be performed in the CI pipeline as part of the regular PR approval process before deploying to the environment.  This will be a quick crash course to give you a hands on approach to make that happen.  You will learn to develop and execute integration tests in the CI pipeline using docker-compose. For this course we will be using Circle CI as the CI tool of choice.  We will use IntelliJ for the IDE and use a simple Java Microservice to demonstrate the pipeline. You will get high level exposure to use and configure the CI pipeline.  We will touch on the config.yml configuration file which is the backbone of Circle CI. You will also get a brief exposure to using a RESTful Feign Client and Liquibase schema migration tool to enforce database schema.  For this course you will need to download and install Docker desktop and open a Circle CI account (its free).  You will also need to open a free GitHub account.  At the end of this course you will be able to download the code files so that you can practice this yourself.


Get Instant Notification of New Courses on our Telegram channel.


English
language

Content

Introduction

CI/CD Pipeline Overview
Application Architecture Overview

Application Services Overview

Overview of the test_service
Overview of the test_app service

Git Repo and the CI Pipeline Configuration for test_service

CI Pipeline configuration for test_service
Docker-compose for test_service

Git Repo and CI Pipeline configuration for test_app

CI Pipeline configuration for test_app
Docker-compose for test_app

Run Integration tests

Running Integration tests in test_service (locally and in the CI pipeline)
Walk through of the Integration Tests in test_app and summary