Skip to content

Commit

Permalink
Merge pull request #5983 from SJuliez/move-test-scenarios-to-test-dir
Browse files Browse the repository at this point in the history
Move test setup scenarios to testresources
  • Loading branch information
SJuliez authored Sep 10, 2024
2 parents ae74af6 + 66b7a5b commit bab4159
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ private static List<Scenario> getScenarioInfos() {
File subDir = new File(userDir, Configuration.scenariosDir().toString());
scenarios.addAll(parseScenariosInDirectory(subDir));
}

// Add testdata scenarios - these should not be present in releases
File testdataDir = new File("testresources/data/scenarios/test_setups");
if (testdataDir.exists() && testdataDir.isDirectory()) {
scenarios.addAll(parseScenariosInDirectory(testdataDir));
}
return scenarios;
}

Expand Down

0 comments on commit bab4159

Please sign in to comment.