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

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