Exemplo n.º 1
0
 private function phpspec()
 {
     $options = new stdClass();
     $options->recursive = true;
     $options->specdoc = true;
     // $options->reporter = 'html';
     PHPSpec_Runner::run($options);
 }
Exemplo n.º 2
0
<?php

require_once '../PHPSpecTestConfiguration.php';
$options = new stdClass();
$options->recursive = true;
$options->specdocs = true;
$options->reporter = 'html';
PHPSpec_Runner::run($options);