Unit Testing Workshop in C++

Explore and practice how to get rid of bugs, increase the quality and the design of your code

This workshop will help you to adopt unit testing if:

  • Your customers or users are unhappy because they keep finding bugs in the application instead of just using it
  • Your Developers spend a lot of (non-billable) hours fixing bugs
  • Your team adopted unit tests, but now they are complaining that they slow them down
  • Your application is huge and Developers cannot modify it fast enough. (Also check the “Working FAST and safe with existing code” class for this part)

Why Attend

  • You want to avoid development mistakes
  • You consider adopting unit testing
  • You want to adopt unit testing and would like to avoid common pitfalls
  • You would like to simplify your unit tests because they are complicated and slow

This workshop is hands-on, with about 60% of the time spent on programming exercises.

The participants will learn how to write simple, maintainable unit tests. It introduces the core unit testing techniques and a set of guidelines that when followed minimize the time spent on maintaining test code.


“Keep up the good work!” – Anca B., Software Developer

“I liked how the trainer explained everything.” – Cosmin A., Senior Software Developer

“I felt very good at the course and my most important questions and ideas have been answered.” – Roxana M., Software Developer

Who Should Attend

Software Developers that would like to learn how to avoid introducing mistakes in the software.

Practical Details

  • Language: English
  • Experiential, hands-on, interactive online learning with practical examples
  • Participants will be awarded a Mozaic Works certificate of completion

This Learning Program is Available on Demand


    You will find out the answers to the following questions:

    • Why Unit Testing?
    • Basics of Unit Testing
    • How to effectively use an xUnit framework
    • State and collaboration tests
    • Isolated tests using stubs and mocks
    • Unit testing styles: mockist vs. classicist
    • Organizing tests for a large system
    • Advanced unit testing topics: dealing with large objects, test asynchronous code, testing GUI
    • Optional: Dealing with legacy code, Acceptance testing

    Day 1

    • Basics of Unit Testing
    • Hand-rolled unit testing framework
    • xUnit Frameworks
    • State tests, value domain sampling
    • Hand-rolled stubs
    • Collaboration tests
    • Hand-rolled mocks
    • Behavior slicing

    Day 2

    • Mock framework
    • Refactoring tests
    • Organize tests for a large system
    • Advanced unit testing topics

    More details and full agenda here


    You must be proficient in C++. You need a laptop with a fully working development environment to use during the class.

    Meet Your Trainers

    Alex Bolboaca

    CTO, Senior Trainer at Mozaic Works

    With over 20 years of international experience in the world of software and technology, Alexandru shares about himself: Being deeply passionate about technology creation I am a continuous learner in the field. Between reading, trying out technologies and multiple programming languages, presenting and participating to developer communities and conferences, I have learned enough to write two books and teach hundreds of developers. I love working with smart people who want to get better at what they do, whether it’s team work, communication, management or technical skills. I offer you my passion, my experience and my capacity to adapt to your needs. About Alex Over 20-years experience in software development, technology and transformations fields Polyglot programmer who uses modern development practices in C/C++,…

    More about Alex Bolboaca >
      Your Cart
      Your cart is empty
        Apply Coupon
        Scroll to Top