in reply to Unit testing with Perl

You can directly call your C routines from within Perl test scripts using the CPAN module, Inline::C.

Best, beth