I try to understand how I can use cppunit in an existing
project wich is rather big. My workspace contains 40
projects. It is made of an MFC application ( exe ) and a
lot of Dll.
I would like to create one Dll ( AllTests.dll) that will
contain all the test fixtures.I plan to run the test of this
dll with different testRunners
My problem is that I can't see how to implement tests
for classes included in the MFC application, since
the "__declspec(dllexport)" has no effect. When I
compile AllTests.dll, I get a error LNK2001 because I can
not access to the class of my application.
Could you help me to solve tis problem which must be
quite common for newbies ?
Log in to post a comment.