/**
  * Generate report
  *
  * @param \PHP_CodeCoverage $coverage
  */
 public function generateReport(\PHP_CodeCoverage $coverage)
 {
     $format = $this->config['report']['format'];
     $options = $this->config['report']['options'];
     $report = $this->factory->create($format, $options);
     $report->process($coverage);
 }
예제 #2
0
 public function testCreateInvalid()
 {
     $factory = new Factory();
     $this->assertTrue($factory->create('HTML', array()) === null);
 }