cloak / robo-coveralls-kit
Robo task for coveralls-kit
Installs: 2 676
Dependents: 14
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- php: >=5.5.0
- cloak/coverallskit: ~2.3
- codegyre/robo: ~0.6
Requires (Dev)
README
robo-coveralls-kit is a library to send the report to the coveralls.
Installation of Robo PHP Task Runner will be mandatory to use it.
Basic Usage
Specify the configuration file, you can send the file the report just run.
For more information about the configuration file, please refer to the coveralls-kit.
class RoboFile extends Tasks { use \coverallskit\robo\loadTasks; public function coverallsUpload() { $result = $this->taskCoverallsKit() ->configureBy('coveralls.toml') ->run(); return $result; } }
Output only the report file
Only to output the report to confirm you can use the saveOnly method.
Just generate a report file, but does not upload.
public function coverallsTest() { $result = $this->taskCoverallsKit() ->configureBy('coveralls.toml') ->saveOnly() ->run(); return $result; }
Testing robo-coveralls-kit
Please try the following command.
composer install
composer test