About Stub function
I am a newbie here and I surfed lots of articles in 'help contents', but still got little sense about stub functions. Suppose that I have a source data library and use it in a Test Case writen by my own. And I want to know more information(for instance, the variable values calculated in one section inside the tested function). But my Test Case can only input values and got results all 'outside' calling the tested function. I mean, like..
parameter [0u] = CPPTEST_DS_GET_INTEGER("[IN].CurrBuff_0");
expectedResult = CPPTEST_DS_GET_INTEGER("[IN].Result");
experimentResult = parameter;
But what I want is to check the value of parameter in one of sections inside tested function.
Could anyone provide me a hint or some comments?
Thanks a lot in advance!