2017 © Pedro Peláez
 

library candybar

Tools to make phpunit tests results easier to understand follow, share and integrate

image

devlib/candybar

Tools to make phpunit tests results easier to understand follow, share and integrate

  • Saturday, July 28, 2018
  • by adrian7
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Candybar

release.svg coverage.svg builddate.svg license.svg, (*1)

Get the candies from your PHPUnit's tests results, (*2)

(!) Warning: this project is under heavy development. Expect breaking changes with every new 0.x release., (*3)

Check the roadmap for upcoming features. Issues/pull requests are welcome., (*4)

Installation

$ composer require devlib/candybar --dev && vendor/bin/candybar init

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., (*5)

To get a list of all available commands run:, (*6)

$ vendor/bin/candybar list

To get help for a specific command:, (*7)

$ vendor/bin/candybar help [command]

Available candies (commands)

  • build:badge:date generates build date badge with the current date/time
  • coverage:style applies a style to the html coverage presentation
  • coverage:badge generates badge from clover xml coverage stats
  • license:badge generates license badge, use arguments to set license and color
  • readme:add-badges adds badges to the readme file using placeholders

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

The Versions

28/07 2018

dev-dev

dev-dev

Tools to make phpunit tests results easier to understand follow, share and integrate

  Sources   Download

MIT

The Requires

 

by Avatar adrian7

05/04 2018

dev-release

dev-release

Tools to make phpunit tests results easier to understand follow, share and integrate

  Sources   Download

MIT

The Requires

 

by Avatar adrian7

05/04 2018

v0.2

0.2.0.0

Tools to make phpunit tests results easier to understand follow, share and integrate

  Sources   Download

MIT

The Requires

 

by Avatar adrian7

04/04 2018

v0.1

0.1.0.0

Tools to make phpunit tests results easier to understand follow, share and integrate

  Sources   Download

MIT

The Requires

 

by Avatar adrian7

26/03 2018

dev-master

9999999-dev

Tools to make phpunit tests results easier to understand follow, share and integrate

  Sources   Download

MIT

The Requires

 

by Avatar adrian7