sergiu-paraschiv / phpci-mocha
There is no license information available for the latest version (v2.4) of this package.
npm mocha plugin for PHPCI
Package info
github.com/sergiu-paraschiv/PHPCI-mocha
Language:JavaScript
pkg:composer/sergiu-paraschiv/phpci-mocha
v2.4
2016-05-19 09:46 UTC
This package is not auto-updated.
Last update: 2026-03-19 01:02:41 UTC
README
Mocha reporter for PHPCI
Add this to composer.json:
composer require sergiu-paraschiv/phpci-mocha
Then the task to phpci.yml:
\SergiuParaschiv\PHPCI\Plugin\Mocha:
directory: "frontend"
command: "npm run test:ci"
data_offset: 2
Mocha should run with the -f json flag.
data_offset is the number of lines at the top of the output to skip before parsing the response.
test:ci in package.json should be "mocha --reporter mocha-tap-reporter --recursive app/test"
To get output in the Information tab you'll need to copy the public folder into your PHPCI installation's public folder.