I know this wasn't exactly your question, but I think this will be of help...
One of the things that makes perl testing framework really nice is TAP, this means that the test can be anything that just prints "ok" or "not ok" for each test (Test::Harness actually expects that to be a Perl program, but this is easily work-aroundable (does that word exists?)).
So, here is what I use to work with Test-Driven-Development in whatever-language:
#!/bin/sh make clean all check && perl -MTest::Harness -e '@tests=<./test/t*>;$T +est::Harness::Switches=qw();*Test::Harness::Straps::_command_line = s +ub {return $_[1]};runtests(@tests)'
In reply to Re: Creating a co-operative framework for testing
by ruoso
in thread Creating a co-operative framework for testing
by gmax
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |