@@ -75,7 +75,7 @@ Please refer to the integration tests for example usage:
75
75
<featuresDirectory >src/test/resources/features/</featuresDirectory >
76
76
<!-- Directory where the cucumber report files shall be written -->
77
77
<cucumberOutputDir >target/cucumber-parallel</cucumberOutputDir >
78
- <!-- List of cucumber plugins. When none are provided the json formatter is used. For more
78
+ <!-- List of cucumber plugins. When none are provided the json formatter is used. For more
79
79
advanced usage see section about configuring cucumber plugins -->
80
80
<plugins >
81
81
<plugin >
@@ -97,7 +97,7 @@ Please refer to the integration tests for example usage:
97
97
<tag >@important</tag >
98
98
<tag >@important,@billing</tag >
99
99
</tags >
100
- <!-- Generate TestNG runners instead of JUnit ones. -->
100
+ <!-- Generate TestNG runners instead of JUnit ones. -->
101
101
<useTestNG >false</useTestNG >
102
102
<!-- The naming scheme to use for the generated test classes. One of ['simple', 'feature-title', 'pattern'] -->
103
103
<namingScheme >simple</namingScheme >
@@ -119,9 +119,9 @@ If `cucumber.options` VM argument is specified as per the [Cucumber CLI options]
119
119
120
120
Where glue is a comma separated list of package names to use for the Cucumber Glue.
121
121
122
- The plugin will search ` featuresDirectory ` for ` *.feature ` files and generate a JUnit test for each one.
122
+ The plugin will search ` featuresDirectory ` for ` *.feature ` files and generate a JUnit test for each one.
123
123
> ** WARNING:** ` featuresDirectory ` must denote a directory within the root of the classpath.
124
- > ** Example:**
124
+ > ** Example:**
125
125
> * Resources in ` src/test/resources ` are added to the classpath by default.
126
126
> * ` src/test/resources/features ` ** is** in the root of the classpath, so ** would be valid** for ` featuresDirectory `
127
127
> * ` src/test/resources/features/sub_folder ` is ** not** in the root of the classpath, so ** would not be valid** to put in ` featuresDirectory `
@@ -134,8 +134,8 @@ Each runner is configured to output the results to a separate output file under
134
134
135
135
### Cucumber Plugins ###
136
136
137
- Cucumber plugins that write to a file are referenced using the syntax
138
- ` name[:outputDirectory/excutorId[.extension]] ` . Because not all plugins create output and the
137
+ Cucumber plugins that write to a file are referenced using the syntax
138
+ ` name[:outputDirectory/excutorId[.extension]] ` . Because not all plugins create output and the
139
139
excutorId is provided at runtime some leg work is needed.
140
140
141
141
#### Build-in Cucumber Plugins ####
@@ -147,7 +147,7 @@ excutorId is provided at runtime some leg work is needed.
147
147
<name >json</name >
148
148
<!-- Optional file extension. For build in cucumber plugins a sensible default is provided. -->
149
149
<extension >json</extension >
150
- <!-- Optional output directory. Overrides cucumberOutputDirectory. Usefull when different
150
+ <!-- Optional output directory. Overrides cucumberOutputDirectory. Usefull when different
151
151
plugins create files with the same extension-->
152
152
<outputDirectory >${project.build.directory}/cucumber-parallel/json</outputDirectory >
153
153
</plugin >
@@ -160,10 +160,10 @@ excutorId is provided at runtime some leg work is needed.
160
160
<plugins >
161
161
<plugin >
162
162
<name >path.to.my.formaters.CustomHtmlFormatter</name >
163
- <!-- Optional file extension. Unless the formatter writes to a file it is strongly
163
+ <!-- Optional file extension. Unless the formatter writes to a file it is strongly
164
164
recommend that one is provided. -->
165
165
<extension >html</extension >
166
- <!-- Optional output directory. Overrides cucumberOutputDirectory. Useful when different
166
+ <!-- Optional output directory. Overrides cucumberOutputDirectory. Useful when different
167
167
plugins create files with the same extension-->
168
168
<outputDirectory >${project.build.directory}/cucumber-parallel/html</outputDirectory >
169
169
</plugin >
@@ -176,7 +176,7 @@ excutorId is provided at runtime some leg work is needed.
176
176
<plugins >
177
177
<plugin >
178
178
<name >path.to.my.formaters.NoOutputFormatter</name >
179
- <!-- Set to true if this plug creates no output. Setting extension or outputDirectory
179
+ <!-- Set to true if this plug creates no output. Setting extension or outputDirectory
180
180
will override this setting -->
181
181
<noOutput >true</noOutput >
182
182
</plugin >
@@ -219,44 +219,44 @@ The `namingPattern` property is for the **class name** only. Do not add the `.j
219
219
### Custom Templates ###
220
220
221
221
Some reporting plugins, such as
222
- [ Cucumber Extent Reporter] ( https://github.com/email2vimalraj/CucumberExtentReporter ) , require some
223
- setup before a test is started. A template can be used to customize the integration tests. For a
224
- sample see the [ extents-report] ( src/it/junit/extents-report ) integration test. For a full list of
222
+ [ Cucumber Extent Reporter] ( https://github.com/email2vimalraj/CucumberExtentReporter ) , require some
223
+ setup before a test is started. A template can be used to customize the integration tests. For a
224
+ sample see the [ extents-report] ( src/it/junit/extents-report ) integration test. For a full list of
225
225
available variables please see CucumberITGeneratorBy(Feature|Scenario).
226
226
227
227
FAQ
228
228
===
229
229
Q. Why are my tests not executed?
230
230
231
- A. By default this plugin generates integration tests. Ensure that the
232
- [ Maven Failsafe Plugin] ( https://maven.apache.org/surefire/maven-failsafe-plugin/ ) is properly
231
+ A. By default this plugin generates integration tests. Ensure that the
232
+ [ Maven Failsafe Plugin] ( https://maven.apache.org/surefire/maven-failsafe-plugin/ ) is properly
233
233
configured.
234
-
234
+
235
235
Q. Why am I not seeing any generated runners?
236
236
237
- A. Scenarios that don't match any tags are excluded. If there is no scenario to run, no runner will
237
+ A. Scenarios that don't match any tags are excluded. If there is no scenario to run, no runner will
238
238
be generated.
239
-
239
+
240
240
Q. Is there a mailing list?
241
241
242
242
A. No. but we have a Gitter channel: https://gitter.im/cucumber-jvm-parallel-plugin/
243
243
244
244
245
245
Migration from version 3.x
246
246
==========================
247
- * The ` filterFeaturesByTags ` property has been removed. If you have not set this property to true
247
+ * The ` filterFeaturesByTags ` property has been removed. If you have not set this property to true
248
248
remove any tags from your configuration. If you have set it to true you can safely remove it.
249
249
250
250
251
251
Migration from version 2.x
252
252
==========================
253
- * The ` glue ` property now takes a list of ` package ` elements rather then a list of comma delimited packages. A
253
+ * The ` glue ` property now takes a list of ` package ` elements rather then a list of comma delimited packages. A
254
254
` package ` contains a single package name to be used as glue.
255
- * The ` tags ` property now takes a list of ` tag ` elements rather then a list of comma and quote delimited strings. A
255
+ * The ` tags ` property now takes a list of ` tag ` elements rather then a list of comma and quote delimited strings. A
256
256
` tag ` element can take one or more tags. The semantics are the same as those of the
257
257
[ the command line] ( https://github.com/cucumber/cucumber/wiki/Tags#running-a-subset-of-scenarios ) .
258
- * The default value for ` cucumberOutputDir ` has changed from ` target/cucumber-parallel ` to
259
- ` ${project.build.directory}/cucumber-parallel ` if you were using a build directory other then ` target ` you can remove
258
+ * The default value for ` cucumberOutputDir ` has changed from ` target/cucumber-parallel ` to
259
+ ` ${project.build.directory}/cucumber-parallel ` if you were using a build directory other then ` target ` you can remove
260
260
this element.
261
261
262
262
@@ -292,7 +292,7 @@ Changelog
292
292
293
293
2.2.0
294
294
-----
295
- * PR #87 - allow setting of packageName for runners. Closes #45
295
+ * PR #87 - allow setting of packageName for runners. Closes #45
296
296
* PR #85 - Resolve inconsistent filters: Fix issue Issue #76
297
297
* PR #86 - use the baseDir of the current project for velocity
298
298
0 commit comments