locked
Stub not generated for a particular interface RRS feed

  • Question

  • Hello,

    I am using VS2012 (C#, WPF) Fakes framework for unit testing . After adding Fakes assembly for the dll, stub is generated for all interfaces except one. Stub is not getting generated for that particular interface.

    Can you tell me what should I do to get stubs for the interface?


    Dolly Thakur

    Tuesday, November 29, 2016 10:59 AM

All replies

  • Hi Dolly Thakur,

    There are some samples about stubs for interface, please refer to the following MSDN document.

    https://msdn.microsoft.com/en-us/library/hh549174.aspx

    And please share me which interface that could not be faked.

    Sincerely,

    Oscar


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    • Edited by Oscar_Wu Wednesday, November 30, 2016 8:57 AM
    Wednesday, November 30, 2016 8:56 AM