Rev | Line | |
---|
[2999] | 1 | <?php |
---|
| 2 | # -- BEGIN LICENSE BLOCK --------------------------------------- |
---|
| 3 | # |
---|
| 4 | # This file is part of Dotclear 2. |
---|
| 5 | # |
---|
| 6 | # Copyright (c) 2003-2014 Olivier Meunier & Association Dotclear |
---|
| 7 | # Licensed under the GPL version 2.0 license. |
---|
| 8 | # See LICENSE file or |
---|
| 9 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
| 10 | # |
---|
| 11 | # -- END LICENSE BLOCK ----------------------------------------- |
---|
| 12 | |
---|
| 13 | use \mageekguy\atoum; |
---|
| 14 | |
---|
| 15 | // Write all on stdout. |
---|
| 16 | $stdOutWriter = new atoum\writers\std\out(); |
---|
| 17 | |
---|
| 18 | // Generate a CLI report. |
---|
| 19 | $cliReport = new atoum\reports\realtime\cli(); |
---|
| 20 | $cliReport->addWriter($stdOutWriter); |
---|
| 21 | |
---|
| 22 | $runner->addTestsFromDirectory('tests/unit/'); |
---|
| 23 | $runner->addReport($cliReport); |
---|
Note: See
TracBrowser
for help on using the repository browser.