CI Pipeline Integration Tests

Run Integration Tests in the CI Pipeline


  • Must have exposure in Continuous Integration tools such as TravisCI or Circle CI


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.

Who this course is for:

  • Java Developers with Docker Compose and Continuous Integration pipeline familiarity

Course content

5 sections • 10 lectures • 32m total lengthExpand all sections

Introduction2 lectures • 5min

  • CI/CD Pipeline Overview03:17
  • Application Architecture Overview02:10

Application Services Overview2 lectures • 9min

  • Overview of the test_service04:15
  • Overview of the test_app service04:51

Git Repo and the CI Pipeline Configuration for test_service2 lectures • 5min

  • CI Pipeline configuration for test_service02:41
  • Docker-compose for test_service02:00

Git Repo and CI Pipeline configuration for test_app2 lectures • 3min

  • CI Pipeline configuration for test_app01:33
  • Docker-compose for test_app01:40

Run Integration tests2 lectures • 10min

  • Running Integration tests in test_service (locally and in the CI pipeline)06:31
  • Walk through of the Integration Tests in test_app and summary03:06