Skip to content

Commit 016e4e3

Browse files
committed
Merge branch 'develop'
2 parents 5864c2d + 4895abd commit 016e4e3

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.markdown

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,17 @@ Provides the ability to run Cucumber via Cuke4Duke within the SBT environment. O
1212

1313
## Usage ##
1414
Install the plugin (see later). Be default features files go in a 'features' directory at the root of the project. Step definitions go in "src/test/scala'. Finally from the sbt console call the task:
15-
> cucumber
15+
16+
cucumber
1617

1718
The cucumber task can be parameterised with tags or feature names to provide fine grained control of which features get executed. E.g.
18-
> cucumber @demo,~@in-progress
19+
20+
cucumber @demo,~@in-progress
21+
1922
would run features tagged as @demo and not those tagged as @in-progress. Also:
20-
> cucumber "User admin"
23+
24+
cucumber "User admin"
25+
2126
would run features with a name matched to "User admin". Multiple arguments can be supplied and honour the following rules:
2227

2328
* arguments starting with @ or ~ will be passed to cucumber using the --tags flag
@@ -98,7 +103,8 @@ The testProjects/multiModuleTestProject in the plugin source repository shows th
98103
All gems are automatically installed the first time that the cucumber plugin is run. These gems are installed to the default location {user.home}/.jruby/gems so that they are cached for all projects using the cucumber plugin. The location of the cache directory can be overridden in the settings.
99104

100105
A task is provided to delete the cache directory contents:
101-
> cucumber-clean-gems
106+
107+
cucumber-clean-gems
102108

103109
## Customisation ##
104110
The plugin supports a number of customisations and settings. The following settings can be modified to change the behaviour of the plugin:
@@ -107,6 +113,7 @@ The plugin supports a number of customisations and settings. The following setti
107113
* cucumberMode = The mode to run cucumber in. Defaults to the value templemore.xsbt.cucumber.Normal
108114

109115
The four supported modes are:
116+
110117
* templemore.xsbt.cucumber.Normal - Runs cucumber and outputs results to the console
111118
* templemore.xsbt.cucumber.Developer - Runs cucumber and outputs results, snippets and source to the console
112119
* templemore.xsbt.cucumber.HtmlReport - Runs cucumber and outputs an html report of the results

0 commit comments

Comments
 (0)