Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Getting Started with Unit Testing for CI/CD - Part 3

Digi-Key via YouTube

Overview

Learn how to implement unit testing for C and C++ applications using CppUTest in this comprehensive tutorial. Explore the process of writing unit tests, building a project structure, and creating makefiles for efficient testing. Discover how to build CppUTest locally and run tests on your code. Dive into advanced techniques by modularizing your testing environment with Docker and automating the testing process using GitHub Actions. Gain valuable insights into creating a robust Continuous Integration and Continuous Delivery (CI/CD) pipeline for your software projects, including embedded firmware development. Follow along with practical examples and learn best practices for designing testable code components and achieving good code coverage.

Syllabus

- Intro
- Overview of Unit Tests
- Using a Test Framework
- Writing the Component Under Test
- Writing the User Application
- Writing the Project Makefile
- Building CppUTest Locally
- Writing the Overall Test Makefile
- Writing a Unit Test
- Writing the Unit Test Makefile
- Running the Unit Tests
- Modularizing with Docker
- Automating Unit Tests with GitHub Actions
- Conclusion

Taught by

Digi-Key

Reviews

Start your review of Getting Started with Unit Testing for CI/CD - Part 3

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.