3 /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
6 * Atoum code coverage in clover format, for scrutinizer
7 * To use it, you can choose either:
8 * * php path/to/test/file -c path/to/this/file
9 * * php path/to/atoum/scripts/runner.php -c path/to/this/file -f path/to/test/file
13 * Copyright © 2020 The Galette Team
15 * This file is part of Galette (http://galette.tuxfamily.org).
17 * Galette is free software: you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation, either version 3 of the License, or
20 * (at your option) any later version.
22 * Galette is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
27 * You should have received a copy of the GNU General Public License
28 * along with Galette. If not, see <http://www.gnu.org/licenses/>.
31 * @package GaletteTests
33 * @author Johan Cwiklinski <johan@x-tnd.be>
34 * @copyright 2020 The Galette Team
35 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
36 * @link http://galette.tuxfamily.org
42 $script->addDefaultReport();
44 $cloverWriter = new atoum\writers\file
(__DIR__
. '/clover.xml');
45 $cloverReport = new atoum\reports\asynchronous\
clover();
46 $cloverReport->addWriter($cloverWriter);
48 $runner->addReport($cloverReport);