cucumber-report-store

1.0.5 • Public • Published

cucumber-report-store

Cucumber Report Store - Cucumber saves reports in json files, this turns them into fairly pretty html

npm version dependencies Build Status Pledge To Arupex!

Install

npm install cucumber-report-store

What's it do ?

Cucumber saves reports in json files, this turns them into fairly pretty html Why not use the html reporter? 1. Its not pretty enough 2. Its not extensible 3. The End Goal

How To Use:

var StorageFactory = require('cucumber-report-store');
   var report = new StorageFactory();
   report.addJSONReport(require('./testFeatures.js'));
    report.initConfig({
        link : 'http://test-runner-server.test.com/run?testname=',
        linkLabel : 'Run: '
    });

    var fs = require('fs');

    var data = report.getHTMLReport();
    fs.writeFileSync('test.html', data);

The End Goal:

Create a Cucumber Test Report you can interact with
Interact with you say?
Yes, we want the ability to rerun tests
But How?
A server side library that interacts with cucumber to rerun the tests right on the stack itself
    and have the report get automatically updated!

Future Feature:

Support Templating - for custom Html
Server Side Code - express middleware

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    1
    • latest

Version History

Package Sidebar

Install

npm i cucumber-report-store

Weekly Downloads

1

Version

1.0.5

License

ISC

Last publish

Collaborators

  • dirwin517