Microsoft

Asynchronous calls in C++ Windows Store Unit Tests

Dec 10, 2012Anisha Pindoria
Asynchronous calls in C++ Windows Store Unit Tests
SummaryAI, from the source post

This post describes a model by which C++ Windows Store Unit Tests can test asynchronous functions, addressing the lack of async-await constructs in C++. It details the installation of the C++ WinRT AsyncUnitTestLibrary project template and demonstrates its usage with the `AsyncHelper::RunSynced` method to synchronize asynchronous tasks within test methods.

More from the C++ Windows Store Unit Tests Async Support trail