Software Testing and Software Quality Assurance Videos and Tutorials: Unit Testing, Functional Testing, Load Testing, Performance Testing, Test Driven Development
 

Trompeloeil: Mocking Tool for C++

Trompeloeil is an open source thread-safe header-only mocking framework for C++14. It is easy to use while also allowing great expressive power. A popular technique in unit testing is to break dependencies by replacing collaborators of the unit under test with mock objects. Mocking frameworks makes it easier to create mock objects.

This presentation will show how to use Trompeloeil by following the step-by-step development of an example program using TDD (test driven development.) The example will begin with the most basic usage and go on to cover increasingly more advanced topics, including:
* testing patterns
* techniques for controlling sequential ordering relations
* how to represent data in violation messages
* managing the life time of mock objects
* writing matchers – disambiguating overloads

Video producer: https://conference.accu.org/