Skip to content

Commit

Permalink
correct the usage of cuke4dukr parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
exceedhl committed Jun 16, 2011
1 parent 5033fc3 commit ce2e216
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README
Expand Up @@ -61,11 +61,13 @@ Then you should be ready to go. `mvn cuke4duke:cucumber` will not compile test j
Troubleshooting Troubleshooting
============== ==============


* the installGems parameter of the cuke4duke plugin does not automatically install all required gems, you have to install them manually as I just showed you. * you can also use the cuke4duke maven plugin to automatically install jruby and gems, just use
`mvn cuke4duke:cucumber -Dcucumber.installGems=true`

* there is a intellij idea plugin for cucumber, though very limited. * there is a intellij idea plugin for cucumber, though very limited.
* on windows if you want to see the colored output in the console, you need [wac](https://github.com/aslakhellesoy/wac). * on windows if you want to see the colored output in the console, you need [wac](https://github.com/aslakhellesoy/wac).
* if you want to run only part of the existing features, you can use `features` parameter of cuke4duke plugin: * if you want to run only part of the existing features, you can use `features` parameter of cuke4duke plugin:


`mvn cuke4duke:cucumber -Dfeatures="features\call_step.feature features\second.feature"` `mvn cuke4duke:cucumber -Dcucumber.features="features\call_step.feature features\second.feature"`


The default value of this parameter is "features", mean all features under the "features" dir. The default value of this parameter is "features", mean all features under the "features" dir.

0 comments on commit ce2e216

Please sign in to comment.