C Language – Creating Automated Tests (C5)

Programming, C, C++

In this practical course, you will focus on creating automated tests for C code, including unit and integration testing, as well as proven practices for testing memory handling, error conditions, and edge cases.

The course combines principles and practical exercises that will enable you to write testable C code, effectively isolate dependencies using test doubles, and integrate tests into Make/CMake and CI for fully automated execution as part of the build process.

THIS TRAINING COURSE WILL HELP YOU:

  • Learn to write testable C code
  • Master unit and integration testing
  • Automate testing as part of the build and CI process

WHO SHOULD ATTEND?

  • Embedded and systems software developers
  • Authors of libraries and modular components
  • Teams seeking to introduce systematic testing of C code

COURSE LOCATION AND AVAILABLE DATES



This course is not scheduled as a public course.
It is delivered exclusively as customised training. The content, duration, date, and delivery format are tailored to the customer's requirements and can also be provided in English.

Request customised training

Course content:

Hide details
  • Principles of Testing Low-Level Code
  • Unit Testing Functions in C
  • Testing Frameworks for C
  • Dependency Isolation and Test Doubles
  • Testing Error Conditions and Edge Cases
  • Testing Memory Handling
  • Testing Modules and Libraries
  • Integrating Tests into Make and CMake
  • Test Automation and CI/CD
  • Designing Testable Architectures
Prerequisites:
Good knowledge of programming in C.
Recommended previous course:
C Language – Threads and Asynchronous I/O (C4)
Schedule:
3 days (9:00-17:00)

Training and learning environment