1.0.5 • Published 8 years ago

cucumber-report-store v1.0.5

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

cucumber-report-store

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

npm version dependencies Build Status

#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
1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago