Re: unit testing C++ code from perl
- From: "Phlip" <phlipcpp@xxxxxxxxx>
- Date: Thu, 06 Jul 2006 04:08:04 GMT
I owe Noel a review. Naturally, he used my TEST() macro (which I got from
CppUnitLite), but it doesn't have the ability to inherit suites, hence to
setUp or tearDown.
My bad - I didn't see TEST_FIXTURE() yet. The system appears to use a
fixture's constructor and destructor as setUp and tearDown, which has a
few reasons to be the correct idiom in C++.
Someone suggested I post this to their mailing list. I will if my search
for one more specific technical problem succeeds.
Nope - they passed my test. The equivalent of setUp() and tearDown() call
just before the test case runs. A more naive implementation of the TEST()
macro would call them before and after main().
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
.
- References:
- Re: unit testing C++ code from perl
- From: Tom Plunket
- Re: unit testing C++ code from perl
- From: Nick Keighley
- Re: unit testing C++ code from perl
- From: Phlip
- Re: unit testing C++ code from perl
- From: Phlip
- Re: unit testing C++ code from perl
- Prev by Date: Re: unit testing C++ code from perl
- Next by Date: Re: How much time does it need to sort 1 million random 64-bit/32-bit integers?
- Previous by thread: Re: unit testing C++ code from perl
- Next by thread: Re: unit testing C++ code from perl
- Index(es):
Relevant Pages
|