Unit 2 of 3

CI/CD, Docker, and Testing

15 min +150 points

Learning objectives

When you finish this unit, you will be able to:

  • Describe components for a CI/CD pipeline in application deployments.
  • Construct a Python unit test.
  • Interpret contents of a Docker file.
  • Utilize Docker images in local developer environment.

CI/CD and containerization

CI/CD pipeline components

Typical stages include source control, build, test, deploy, and monitor—automating delivery from code commit to production.

Python unit tests

Write unit tests using frameworks like unittest or pytest to validate individual functions and modules.

Docker

  • Dockerfile: defines how to build an image (base image, dependencies, commands).
  • Docker images: packaged application environments used in local development and deployment.

Exam focus: interpret Dockerfiles, understand CI/CD stages, and recognize unit test patterns.

Sign in to save your progress

Mark units complete, earn points, and work toward Certification Pro status.