Skip to content

Commit

Permalink
add a few more for #2633
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Jan 3, 2025
1 parent 28ce176 commit 82a3bda
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions karate-core/src/main/java/com/intuit/karate/Runner.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ public List<FeatureCall> resolveAll() {
if (tempOptions != null) {
LOGGER.info("using system property '{}': {}", Constants.KARATE_OPTIONS, tempOptions);
Main ko = Main.parseKarateOptions(tempOptions);
if (ko.name != null) {
scenarioName = ko.name;
}
if (ko.configDir != null) {
configDir = ko.configDir;
}
if (ko.env != null) {
env = ko.env;
}
if (ko.reportDir != null) {
reportDir = ko.reportDir;
}
Expand Down

0 comments on commit 82a3bda

Please sign in to comment.