|
-
June 25th, 2007, 03:27 AM
#1
Unit Test & MFC (Visual C++ unmanaged) project
Hi all,
I was very glad as I heard the company will migrate the project to VS 2005 (from 2003), because I hoped for a good help with Unit Tests. Well after some tries I’m very disappointed because I understand … nothing (I used before CPPUnit and it worked fine).
The project is only an exe with many classes (there is a special reason for this design). It is a MFC multi top-level documents application (unmanaged) developed with VS 2005. The MSDN help says that I need a static library, an .obj file, or a DLL entry point. The project is an executable (neither a static nor a dynamic library) so I have to use some how the .obj files. I never did something like this before. Did anybody knows how to this? Maybe knows somebody an example, tutorial, book for this case.
For any idea, thanks in advance.
Best regards,
Emil
-
June 25th, 2007, 08:35 AM
#2
Re: Unit Test & MFC (Visual C++ unmanaged) project
CppUnitVisualStudio2005Wizard
A Visual Studio Wizard to create a project to test a class
http://cppunit.sourceforge.net/cppun...udio2005Wizard
Nobody cares how it works as long as it works
-
June 25th, 2007, 08:47 AM
#3
Re: Unit Test & MFC (Visual C++ unmanaged) project
Thank you Zerver for your suggestion, but I want to try the Unit Test integrated in the Visual Studio 2005 Team Edition.
Best Regards,
Emil
-
June 25th, 2007, 09:35 AM
#4
Re: Unit Test & MFC (Visual C++ unmanaged) project
OK, I thought you had problems getting CPPunit to work in VS 2005.
I'm afraid I don't know anything about that integrated unit testing.
Nobody cares how it works as long as it works
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|