Course in Unit Testing in C++ with Catch2

Course in writing C++ unit tests using Catch2

This course is premature

Do not write one single production code without having a associated unit-test. In this course we go straight to the point and teach you how to use Catch2 to write solid unit tests.
This is what you will learn
  • Download and install Catch2
Course Contents

Unit Testing and TDD

  • Type of tests
  • What is a unit test
  • Write F.I.R.S.T. tests
  • Structure of a unit test
  • Given-when-then style
  • What is test driven development (TDD)

Installation of Catch2

  • Catch2 at GitHub
  • Download the header-only library
  • Automatic download and configuration using CMake
  • Configuration of CLion to run Catch2
Facts
NameUnit Testing in C++ with Catch2
Duration1 Days
LevelIntermediate
AudienceExperienced C++ programmers
PrerequisitesKnowledge about Modern C++
Tools
  • GCC/G++ compiler, version 8 or later
  • Jetbrains CLion IDE
  • Ubuntu Linux @ VirtualBox or WLS @ Windows-10
On-Site Course

If you order an On-Site course, we will come to you and hold the course in your office. The price is determined by our price model and is based on the number of course days, number of participants and any travel and lodging.

Read more about out price modell and term of sales here.

Related Courses
CourseDaysLevel
C++ 11/14/17 for C++ Programmers3IntermediateShow
Threads Programming using Modern C++3AdvancedShow
Linux Systems Programming using Modern C++3AdvancedShow
C++ Supplementary3Intermediate Show