gretty icon indicating copy to clipboard operation
gretty copied to clipboard

AppIntegrationTest is not using src/test/resources but src/main/resources for the server test instance

Open pseisam opened this issue 5 years ago • 0 comments

So I have a properties file in my project in src/main/resources which has some configuration options for my web application. For testing I made some changes in the properties file and put it in src/test/resources. But the problem is that the server instance from the AppBeforeIntegrationTestTask is using the resources of the main folder.

Is this intended or is this a bug? If it is intended how is the workflow to start the server instance for integration testing with a modified properties file?

pseisam avatar Feb 19 '20 08:02 pseisam