public function end($summary)
{
$this->write("# total {$summary->total()}\n");
$this->write("# passed {$summary->passed()}\n");
$this->write("# pending {$summary->pending()}\n");
$this->write("# skipped {$summary->skipped()}\n");
$this->write("# excluded {$summary->excluded()}\n");
$this->write("# failed {$summary->failed()}\n");
$this->write("# errored {$summary->errored()}\n");
}