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.

Testimonials

โ€œ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

    Agenda

    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

    Prerequisites

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

    Meet Your Trainers

    0
      0
      Your Cart
      Your cart is empty
        Apply Coupon
        Scroll to Top