<?php

use Matura\Test\Util;
Util::gensuite(array('depth' => 2, 'tests' => 2, 'befores' => 2, 'before_alls' => 2, 'afters' => 2, 'after_alls' => 2));
Exemple #2
0
<?php

namespace Matura\Tests;

use Matura\Test\Util;
describe('Deep and Branched', function ($ctx) use(&$gensuite) {
    Util::gensuite(array('depth' => 5, 'tests' => 15, 'befores' => 5));
});
describe('Shallow', function ($ctx) use(&$gensuite) {
    Util::gensuite(array('depth' => 1, 'tests' => 1000, 'befores' => 5));
});