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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top