1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Function stubbing using unit testing.

Discussion in 'C++' started by Rakesh Kumar Pahwa, Feb 4, 2011.

  1. Rakesh Kumar Pahwa

    Rakesh Kumar Pahwa New Member

    Jan 13, 2011
    Likes Received:
    Trophy Points:
    Hi everyone,

    I am making a framework for unit testing for a big product. I need a way to stub functions which are called within the function which I am testing. But I don't want to change the code of the functions to be stubbed.

    Please help.
    Thanks in advance.

Share This Page