meekrosoft / fff

A testing micro framework for creating function test doubles
Other
749 stars 163 forks source link

Suggestion about improving idea: dump the call history at the tear down of each test fixture #92

Open Lizhangz opened 3 years ago

Lizhangz commented 3 years ago

Hi, I just begin to use your code, and I think maybe you like my improve idea: dump the call history at the tear down of test fixture. Here is some example

Call 0: xosc_start Call 1: calib_64k ......

In this way, the tester have a better view of what happened during the testing. I have some code for the purpose already. And I am thinking about dump the parameter and return value together. If you like the suggestion, I can formalize my patch. Please let me know your comments BR /Li.