Skip to content

Commit e49b07b

Browse files
committed
[Core] Explain why the feature property is parsed twice
Closes: #2678
1 parent 4bbab4b commit e49b07b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cucumber-core/src/main/java/io/cucumber/core/options/CucumberPropertiesParser.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ public RuntimeOptionsBuilder parse(CucumberPropertiesProvider properties) {
6969
builder::addFeature);
7070

7171
parseAll(properties,
72+
// For historical reasons rerun files are also provided through the
73+
// feature property. They are differentiated by prefixing the uri
74+
// name with an `@` symbol.
7275
FEATURES_PROPERTY_NAME,
7376
splitAndThenFlatMap(CucumberPropertiesParser::parseRerunFile),
7477
builder::addRerun);

0 commit comments

Comments
 (0)