I ve recently returned to C/C++ after years of C#. During those years I ve found the value of Mocking and Unit testing.
Finding resources for Mocks and Units tests in C# is trivial. WRT Mocking, not so much with C++.
I would like some guidance on what others do to mock and test Asynch io_service handlers with boost.
For instance, in C# I would use a MemoryStream to mock an IO.Stream, and am assuming this is the path I should take here.
- C++ Mock/Test best practices
- boost::asio::io_service Mock/Test best practices
- C++ Async Handler Mock/Test best practices
I ve started the process with googlemock and googletest.