Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tomgco/cuke2jade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cuke2jade

Cucumber.js json formatted output to jade.

Installation and Usage

Install and Usage

Install

$ npm install -g cuke2jade

Usage

$ cat cucumber.json | cuke2jade # You have jade output
$ npm install -g jade
$ cat cucumber.json | cuke2jade | jade > index.html # You have a html file!

Customising

No Stylesheet

--no-bootstrap

$ cat cucumber.json | cuke2jade --no-bootstrap # no stylesheet

Custom CSS

--css something.css Single css file included --css a.css,b.css Comma delimited

$ cat cucumber.json | cuke2jade --no-bootstrap --css custom-bootstrap.css # custom css with no defaults
$ cat cucumber.json | cuke2jade --css bootstrap-override.css # custom css overriding bootstrap.css

Custom Header

--header "Some String with Spaces in" Will be placed at the top of your report.

$ cat cucumber.json | cuke2jade --header

Progress Bar

--progress Will add a progress bar to the top of your report to indicate the total progress (number of passes, undefined tests, failing tests and skipped tests).

$ cat cucumber.json | cuke2jade --progress

About

Cucumber.js json output to jade

Resources

License

Stars

Watchers

Forks

Packages

No packages published