]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/PHPUnit/Tests/TextUI/skeleton.phpt
Added unit tests.
[Github/sugarcrm.git] / tests / PHPUnit / Tests / TextUI / skeleton.phpt
1 --TEST--
2 phpunit Calculator ../_files/Calculator.php
3 --FILE--
4 <?php
5 $_SERVER['argv'][1] = 'Calculator';
6 $_SERVER['argv'][2] = dirname(dirname(__FILE__)) . '/_files/Calculator.php';
7
8 require_once dirname(dirname(dirname(__FILE__))) . '/TextUI/Command.php';
9 PHPUnit_TextUI_Command::main();
10 ?>
11 --EXPECTF--
12 PHPUnit %s by Sebastian Bergmann.
13
14 ....
15
16 Time: %i seconds
17
18 OK (4 tests, 4 assertions)