umock-c
umock-c copied to clipboard
umock_c should have a way to inspect calls made.
Assume there's 2 modules, A and B. A calls B's B_do_something_async providing some callback and context.
In real world, B would call back.
In tests, there's no (easy) way to make the callback.
umock_c needs to improve on that.
Best Regards, Andrei Porumb
As a suggestion, umock_c should make (at runtime) the whole expected/actual calls harvestable in some way, then the user could decide: "let's take this callback from umock_c and invoke it ourselves, as if the callback would have happened".
Also see #24
Best Regards, Andrei Porumb