chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male

Typemock C/C++ Webinar Series

Everything you need to know to start unit testing your C/C++ code today!

Battle of the C++ Unit Testing Frameworks

So you’ve decided to write your C++ unit tests. The first step is choosing a testing framework. Which frameworks should you go with?
We’re going to introduce the most frequently used frameworks and compare them. We’ll also discuss things to think about when choosing a framework.
We’ll write tests in CppUnit, GoogleTest, Boost Test, and UnitTest++. You will explore the ease-of-use, APIs, and answer your questions about what is important in a testing framework.
Let us help you choose the right framework for you. Battle it out. Who’s going to be the top framework?
Watch this webinar here


Real Life Unit Testing & Mocking: Testing Untestable Code in C++

Watch it here


Intro to Unit Testing in C++

Software testing isn’t just a task for QA. In order to prevent bugs and release quality code to market, you also need developer testing, including unit testing. Discover why you should start unit testing, and how you can get started with automated tests quickly.
Watch this webinar and learn:
• Benefits of unit testing
• xUnit Frameworks
• The difference between unit testing and test-driven development (TDD).
Examples will be in C++.
Watch this webinar here to learn what you need to know in order to start testing today.


Top 5 Unit Testing Problems in C++ Legacy Code and How to Solve Them

Legacy code is a real problem with C++ applications. With so many developers working on the same codebase over time — decades even — your code gets complicated and full of dependencies.
Unit testing is often the best solution to ensure that your legacy code does what it’s supposed to do. But sometimes unit testing C++ legacy code can be problematic.
In this webinar, you will learn how to:
• Deal with global C functions
• Deal with private calls to functions that you want to avoid
• Deal with your code creating objects that you want to ignore
• Test when there is no external state to check
• Simulate values that are returned by reference
Watch it here


Getting Started with C++ Unit Testing in Linux

Unit testing in C/C++ has proven value in finding as much as 90% of defects. But it is very hard. We know that. We’ve been there. Using a test runner is just not enough.
In Unit testing C/C++ code we want to test a single feature, but then we hit a major problem: our code calls other classes, databases, services and 3rd party libraries.
To solve this, we’ll need to change our code. But changing it is risky. We are likely to introduce new bugs and then find ourselves rewriting our unit tests instead of writing new code.
Watch this webinar to learn how to start unit testing in C++ in Linux:
• How your multi-platform development team can use the same solution and API to test C++ code – existing or legacy code
• What you need in order to unit test
• How to test code that calls global, statics, and non-public functions
Watch it here   


Looking for more resources about unit testing C/C++ codeHere are some informative articles on this topic.