Re: [Cppunit-devel] Silly question in CppUnit
Brought to you by:
blep
|
From: Phlip <pl...@sy...> - 2002-12-18 22:23:07
|
[Administrator, please set "Reply-to" to the list]
> Are there any examples you can point me to that allows me to do something
interesting with
>
> CppUnit::TextUi::TestRunner.run("testname", true); ?
Have you seen this?
http://c2.com/cgi/wiki?DirtSimpleCppUnitExample
I wrote it after deciphering similar issues, and learning that there was no
samples except the complex ones. It doesn't cover your question, but I
suspect it's feature-complete so that your code would work on it.
This line probably does it:
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ExampleTestCase,
"ExampleTestCase" );
--
Phlip
http://www.greencheese.org/DontPlanDesigns
-- To catch a bug, you'v got to learn to think like a bug --
|