Yes, that is what I use also but I do not see the text "not implemented"
show up anywhere when the test fails.
Again, the command window just shows the F instead of the dot. The IDE
shows something similar to First-chance exception at 0x7c81eb33 in
>App.exe: Microsoft C++ exception: CppUnit::Exception @ 0x0012e43c.
What am I doing wrong?
-dh
-----Original Message-----
From: ms...@po... [mailto:ms...@po...]=20
Sent: Sunday, February 27, 2005 8:27 PM
To: Dave Hoffer; cpp...@li...
Subject: Re: [Cppunit-devel] cppUnit usage questions
At 16:56 2005-02-27, Dave Hoffer wrote:
>I have some very basic questions regarding cppUnit that I am hoping
>someone can help me with. I am using the non-GUI runner, my code is
>ANSI C++, my IDE is Visual Studio NET 2003. When I run my test suite
>failed tests show as an F in the command window and as the following in
>the IDE's output window. First-chance exception at 0x7c81eb33 in
>App.exe: Microsoft C++ exception: CppUnit::Exception @ 0x0012e43c.
>
>When a test fails I have no way of knowing what test failed. I have
>added the 'message' parameter and I expected it to show in the IDE's
>output window but it does not. How can I show these messages and know
>which tests fail?
>
>-dh
I use CPPUNIT_ASSERT_MESSAGE
e.g.
CPPUNIT_ASSERT_MESSAGE( "not implemented",
true =3D=3D false );
and I get a message spammed out=20
|