in reply to Creating a co-operative framework for testing
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)'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Creating a co-operative framework for testing
by ruoso (Curate) on Oct 26, 2006 at 09:51 UTC |