2017 © Pedro Peláez
 

library phpci-mocha

npm mocha plugin for PHPCI

image

sergiu-paraschiv/phpci-mocha

npm mocha plugin for PHPCI

  • Thursday, May 19, 2016
  • by sergiu-paraschiv
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

PHPCI-mocha

Mocha reporter for PHPCI

Add this to composer.json:, (*1)

composer require sergiu-paraschiv/phpci-mocha

Then the task to phpci.yml:, (*2)

\SergiuParaschiv\PHPCI\Plugin\Mocha:
    directory: "frontend"
    command: "npm run test:ci"
    data_offset: 2

Mocha should run with the -f json flag., (*3)

data_offset is the number of lines at the top of the output to skip before parsing the response., (*4)

test:ci in package.json should be "mocha --reporter mocha-tap-reporter --recursive app/test", (*5)

To get output in the Information tab you'll need to copy the public folder into your PHPCI installation's public folder., (*6)

The Versions

19/05 2016

dev-master

9999999-dev

npm mocha plugin for PHPCI

  Sources   Download

by Sergiu Paraschiv

19/05 2016

v2.4

2.4.0.0

npm mocha plugin for PHPCI

  Sources   Download

by Sergiu Paraschiv

19/05 2016

v2.3

2.3.0.0

npm mocha plugin for PHPCI

  Sources   Download

by Sergiu Paraschiv

18/05 2016

v2.2

2.2.0.0

npm mocha plugin for PHPCI

  Sources   Download

by Sergiu Paraschiv

18/05 2016

v2.1

2.1.0.0

npm mocha plugin for PHPCI

  Sources   Download

by Sergiu Paraschiv

18/05 2016

v2.0

2.0.0.0

npm mocha plugin for PHPCI

  Sources   Download

by Sergiu Paraschiv

18/05 2016

v1.1

1.1.0.0

npm mocha plugin for PHPCI

  Sources   Download

by Sergiu Paraschiv

18/05 2016

v1.0

1.0.0.0

npm mocha plugin for PHPCI

  Sources   Download

by Sergiu Paraschiv