示例#1
0
 private function phpspec()
 {
     $options = new stdClass();
     $options->recursive = true;
     $options->specdoc = true;
     // $options->reporter = 'html';
     PHPSpec_Runner::run($options);
 }
示例#2
0
文件: AllSpecs.php 项目: andho/simdal
<?php

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