Skip to content

sitrunlab/learn-kahlan

Repository files navigation

learn-kahlan

Build Status Coverage Status

Consume

$ git clone https://github.com/sitrunlab/learn-kahlan.git
$ cd learn-kahlan
$ composer install
$ bin/kahlan --coverage=4

You will get the following output:

run kahlan

Get Html Report

$ npm install -g nyc
$ mkdir .nyc_output
$ ./bin/kahlan --istanbul=.nyc_output/coverage.json
$ nyc report --reporter=html --extension=".php"
$ open coverage/index.html

or

$ brew install lcov
$ mkdir lcov
$ ./bin/kahlan --lcov="lcov/coverage.info"
$ cd lcov
$ genhtml coverage.info
$ open index.html

Releases

No releases published

Packages

No packages published

Languages