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

    Joined:
    Jan 13, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    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