You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,17 @@ Provides the ability to run Cucumber via Cuke4Duke within the SBT environment. O
12
12
13
13
## Usage ##
14
14
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
+
15
16
cucumber
16
17
17
18
The cucumber task can be parameterised with tags or feature names to provide fine grained control of which features get executed. E.g.
19
+
18
20
cucumber @demo,~@in-progress
21
+
19
22
would run features tagged as @demo and not those tagged as @in-progress. Also:
23
+
20
24
cucumber "User admin"
25
+
21
26
would run features with a name matched to "User admin". Multiple arguments can be supplied and honour the following rules:
22
27
23
28
* arguments starting with @ or ~ will be passed to cucumber using the --tags flag
@@ -98,6 +103,7 @@ The testProjects/multiModuleTestProject in the plugin source repository shows th
98
103
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.
99
104
100
105
A task is provided to delete the cache directory contents:
0 commit comments