By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,387 Members | 1,729 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,387 IT Pros & Developers. It's quick & easy.

Visual C++ 2005 & Unit Test

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Diego Park wrote:
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
Nov 17 '05 #2

P: n/a
Why don't you look at Boost Test library?

http://www.boost.org/libs/test/doc/

Nov 17 '05 #3

P: n/a
Thanks a lot for the replies. I will try Boot Test Library.

Best wishes,
Diego

"Nemanja Trifunovic" wrote:
Why don't you look at Boost Test library?

http://www.boost.org/libs/test/doc/

Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.