New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-cucumberjs

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-cucumberjs

Generates documentation from Cucumber features

  • 0.1.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
742
decreased by-4.99%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-cucumberjs

Generates documentation from Cucumber features

Getting Started

This plugin requires Grunt ~0.4.1

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-cucumberjs --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-cucumberjs');

The "cucumberjs" task

Overview

In your project's Gruntfile, add a section named cucumberjs to the data object passed into grunt.initConfig().

grunt.initConfig({
  cucumberjs: {
      options: {
        output: 'output.html'
      },
      format: 'html'
    },
})

Options

options.steps

Type: String Default value: ''

passes the value as --steps parameter to cucumber.

options.tags

Type: String Default value: ''

passes the value as --tags parameter to cucumber.

options.css

Type: String Default value: ''

Location of the CSS styles to be used by the html report wrapper. See templates/ for details.

options.indexTemplate

Type: String Default value: ''

Location of html report wrapper. See templates/ for details.

options.featuresTemplate

Type: String Default value: ''

Location of the html temoplate to be used when running each test. See templates/ for details.

options.output

Type: String Default value: ''

Output file for the task. Please also include the appripriate extension. For example use js for json format.

format

Type: String Default value: ''

output format for the tests. The options are pretty, progress, json, summary and html.

html will output a pretty report of your tests. You can use your own templates with this.

Keywords

FAQs

Package last updated on 17 Oct 2013

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc