public function __construct()
{
// define our name, and our description
$this->setName('junit');
$this->setShortDescription('output a test report in JUnit XML format');
$this->setLongDesc("Use this switch to generate a test report file in JUnit XML format." . PHP_EOL . PHP_EOL . "Popular Continuous Integration servers such as Jenkins come with plugins that" . " can parse and report on the JUnit XML format." . PHP_EOL . PHP_EOL . "See http://phpunit.de/manual/current/en/logging.html#logging.xml for the spec that we've implemented for Storyplayer.");
// what are the long switches?
$this->addLongSwitch('log-junit');
// what is our parameter?
$this->setRequiredArg('<file>', "the file to write the report to");
$this->setArgValidator(new File_MustBeFileOrHaveValidParent());
// all done
}