Re: [Cppunit-devel] cppUnit usage questions
Brought to you by:
blep
From: <ms...@po...> - 2005-02-28 01:27:56
|
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 == false ); and I get a message spammed out |