Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'develop'

  • Loading branch information...
commit b5e7abe7e260263a2304c00b1d0abfdeb5c754a0 2 parents fee658f + 56f565e
@skipoleschris authored
View
4 README.markdown
@@ -35,8 +35,8 @@ would run features with a name matched to "User admin". Multiple arguments can b
* arguments starting with @ or ~ will be passed to cucumber using the --tags flag
* arguments starting with anything else will be passed to cucumber using the --name flag
-IMPORTANT NOTE: A current defect in sbt prevents tasks with parameters being run against the parent project in a multi-module sbt project. This is why there are separate tasks with parameters. To use a parameter task you mush first select a child project.
-The non-parameter tasks can be run against the parent project or a selected child. This separation will be removed once sbt supports calling tasks with parameters on the parent project.
+IMPORTANT NOTE: The current design of sbt prevents tasks with parameters (method tasks) being run against the parent project in a multi-module sbt project. This is why there are separate tasks with parameters. To use a parameter task you mush first select a child project.
+The non-parameter tasks can be run against the parent project or a selected child.
## Writing Features ##
Features are written in text format and are placed in .feature files inside the 'features' directory. For more info on writing features please see the [Cucumber](http://cukes.info) website.
View
4 src/main/scala/templemore/sbt/CucumberProject.scala
@@ -125,8 +125,8 @@ trait CucumberProject extends BasicScalaProject {
lazy val cucumberHtml = cucumberHtmlAction(List(), List())
lazy val cucumberPdf = cucumberPdfAction(List(), List())
- // NOTE: There is currently a defect in SBT (#143) whereby tasks that take
- // arguments cannot be called on the parent project in a multi-project
+ // NOTE: The design of SBT prevents method tasks (tasks with arguments)
+ // from be called on the parent project in a multi-project
// configuration. To allow the running of all the cucumber goals from
// within the parent we therefore have to have a separate set of tasks
// that support parameters. These can only be called when a child project
Please sign in to comment.
Something went wrong with that request. Please try again.