Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
skipoleschris committed Feb 3, 2011
2 parents fee658f + 56f565e commit b5e7abe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/templemore/sbt/CucumberProject.scala
Expand Up @@ -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
Expand Down

0 comments on commit b5e7abe

Please sign in to comment.