Skip to content

Commit 82a3bda

Browse files
committed
add a few more for #2633
1 parent 28ce176 commit 82a3bda

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

karate-core/src/main/java/com/intuit/karate/Runner.java

+9
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,15 @@ public List<FeatureCall> resolveAll() {
173173
if (tempOptions != null) {
174174
LOGGER.info("using system property '{}': {}", Constants.KARATE_OPTIONS, tempOptions);
175175
Main ko = Main.parseKarateOptions(tempOptions);
176+
if (ko.name != null) {
177+
scenarioName = ko.name;
178+
}
179+
if (ko.configDir != null) {
180+
configDir = ko.configDir;
181+
}
182+
if (ko.env != null) {
183+
env = ko.env;
184+
}
176185
if (ko.reportDir != null) {
177186
reportDir = ko.reportDir;
178187
}

0 commit comments

Comments
 (0)