How to configure dependencies that should be enabled only in test mode or in dev mode in playback mode?

Currently, the documentation playback environment says how to configure dependencies for an entire project without separating them between operating modes. The previous method solved this by placing something like %test.before the module definitions in a file application.conf(which still works).

Is there a way to do this directly in the file, dependencies.ymlor should it be mixed with the old method?

+3
source share
1 answer

I may be wrong, but I do not think that it is possible to distinguish between the dev / prod / test mode.
The% test was designed only to set some configurations, and not to change the IMO depot. But, changing the DependencyManager game class to manage various .yml dependencies according to the mode of operation should not be difficult.
We could ask to play the list directly if people wanted to have one.

+1
source

All Articles