Download the PHP package devlib/candybar without Composer
On this page you can find all versions of the php package devlib/candybar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devlib/candybar
More information about devlib/candybar
Files in devlib/candybar
Package candybar
Short Description Tools to make phpunit tests results easier to understand follow, share and integrate
License MIT
Informations about the package candybar
Candybar
Get the candies from your PHPUnit's tests results
(!) Warning: this project is under heavy development. Expect breaking changes with every new 0.x release.
Check the roadmap for upcoming features. Issues/pull requests are welcome.
Installation
Running the bar
After installing (init), a folder called candybar
will show up in your project's root directory.
There you'll find the config.php, styles and themes folders.
The bar
section of the config file is used to add/remove commands supported by candybar and
the styles folder is used to lookup styles when running the coverage:style
command.
To get a list of all available commands run:
To get help for a specific command:
Available candies (commands)
build:badge:date
generates build date badge with the current date/timecoverage:style
applies a style to the html coverage presentationcoverage:badge
generates badge from clover xml coverage statslicense:badge
generates license badge, use arguments to set license and colorreadme:add-badges
adds badges to the readme file usingplaceholders
Examples
vendor/bin/candybar coverage:style default
vendor/bin/candybar coverage:badge badges/coverage.svg --style=plastic
vendor/bin/candybar license:badge badges/license.svg --style=plastic
vendor/bin/candybar readme:add-badges badges --template=README.tpl.md --output=README.md --backup
Making your own commands
All versions of candybar with dependencies
phpunit/php-code-coverage Version ^5.0
adrian7/badges-poser Version ^1.2.3
laravie/parser Version ~1.0
symfony/filesystem Version ^4.0