Re: unit testing C++ code from perl



Greger wrote:

out of curiosity, has anyone dealt with unittesting C++ libraries with
perlunit?if so gimme some feedback on this, would be interested. Taaa... g

Yes. For the love of the deity of your choosing, don't do it.

Thou Shalt Write thy Unit Tests in the Same Language As Thy Code.

Starting with a *unit you understand is fun, but then you will endure an
endless burn of mismatched bindings, poor tool support, and betrayal of
false conveniences.

Learn CppUnitLite and write your tests - preferrably first - in C++. You
will get full language and tool support. Unit testing is about details,
and cross-language binding is not about details.

--
Phlip

.



Relevant Pages