I’ve tried to create a seperate conf file for tests overriding the main application.conf and included it in the javaOptions for tests in build.sbt as follow:
javaOptions in Test += “-Dconfig.resource=application-test.conf”
But lagom doesn’t seem to use these overridden values, not sure whether the file itself is getting picked up. But the same work with a play framework project.
Kindly advise whether this is the right way to configure test properties with Lagom or should I add a new file duplicating the original application.conf with overridden values in test/resources folder?