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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice