The play documentation about functional tests in java shows two modes
- using fakeApplication to specify a custom configuration (in memory database in the example)
- using dependency injection to configure the application
I would like to use dependency injection but I have to set custom configuration on application startup like the use of in memory database.
I cannot achieve to do that. I guess this has to be done in the guice builder but I don't know how.