From 3e25e84b988698bcdd0a2adde7710cd5cc5d8be1 Mon Sep 17 00:00:00 2001 From: Omar Gonzalez Date: Mon, 1 Apr 2013 16:33:07 -0700 Subject: [PATCH] Update README.md -Added description for executable option -Minor typo fix --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 039f2af..2620886 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # grunt-cucumber-js -> Run all you your cucumber features through Grunt. +> Run all your cucumber features through Grunt. **Warning:** This task requires a Grunt version of at least `0.4.0`. @@ -60,6 +60,7 @@ by a comma, which represents logical OR. Example: #### format Type: `String` + Default: `''` How to format features (default: progress). @@ -69,6 +70,19 @@ Available formats: * json : prints the feature as JSON * summary : prints a summary only, after all scenarios were executed +#### executable +Type: `String` + +Default: `'cucumber'` + +Used to set the path to Cucumber.js's `lib/cucumber.js` +file if you don't want to load it from the `npm_modules` +directory using `require('cucumber')`. Useful for running +customized versions of Cucumber.js for a specific project. + +Example: `executable: "../../custom_libs/cucumberjs/lib/cucumber.js"` + + ### Usage Examples