Visual C++ 2005 & Unit Test

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I am trying to generate tests for unmanaged C++ code, but I fail. Is that
possible or am i doing something wrong? If so, where can I find a sample
code? Thanks in advance.

Best wishes,
Diego Park
 
Diego said:
Hello,

I am trying to generate tests for unmanaged C++ code, but I fail. Is
that possible or am i doing something wrong? If so, where can I find
a sample code? Thanks in advance.

Unit tests are for managed code only, unfortunately.

You can write a managed unit test that exercises unmanaged C++ functionality
through IJW or other interop, but you have to do it yourself - the "Create
Tests Wizard" can't do it for you.

-cd
 
Back
Top