🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

cucumber-html-formatter

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-html-formatter

HTML formatter for Cucumber

latest
Source
npmnpm
Version
3.1.0
Version published
Weekly downloads
210
-11.76%
Maintainers
1
Weekly downloads
 
Created
Source

cucumber-html-formatter

For general information, see the parent README.md

Hacking

While hacking on this module you may want to try it out manually. To be able to do this without getting errors, first run:

make clean && make && make npm-link-shared

This is to avoid errors from React as described in facebook/react#13991.

After you have done that you should be able to generate HTML reports. For example, to generate a report with random results for the .feature files used in gherkin's test suite:

cd ../../gherkin
../fake-cucumber/javascript/bin/fake-cucumber \
  --results random \
  testdata/good/*.feature | \
  ../html-formatter/javascript/bin/cucumber-html-formatter.js > \
  gherkin.html

Docker image

The Docker image is automatically built on docker hub, but you can also build it locally:

source ../../scripts/functions.sh
docker_build Dockerfile

FAQs

Package last updated on 10 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts