public function __construct()
{
// define our name, and our description
$this->setName('tap');
$this->setShortDescription('output a test report in TAP13 format');
$this->setLongDesc("Use this switch to generate a test report file in TAP13 format." . PHP_EOL . PHP_EOL . "The Test Anything Protocol is a simple text-based interface between" . " testing modules and a test harness. TAP started life as part of the" . " test harness for Perl and today is supported by a variety of testing" . " tools." . PHP_EOL . PHP_EOL . "See http://podwiki.hexten.net/TAP/TAP13.html?page=TAP13 for the spec.");
// what are the long switches?
$this->addLongSwitch('log-tap');
// what is our parameter?
$this->setRequiredArg('<file>', "the file to write the report to");
$this->setArgValidator(new File_MustBeFileOrHaveValidParent());
// all done
}