blob: 9245e1bf4433b9e0d713b019a482189f367a8fe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
/**
* This is project's console commands configuration for Robo task runner.
*
* @see http://robo.li/
*/
class RoboFile extends \Robo\Tasks
{
public function test () {
$res = $this->taskExec('phpunit --coverage-html test/output/report --bootstrap test/unit/bootstrap.php ./test/unit')->run();
// print message when tests passed
if ($res->wasSuccessful()) $this->say("All tests passed");
return $res();
}
}
|