Spring configuration options
Spring configuration options for Diffblue Cover Plugin for IntelliJ.
There's an option to specify any Spring profiles to activate while creating tests. You can specify multiple profiles by giving a comma separated list of profiles, for example:
development
for a single profile; or development,test
for multiple profiles.If you do not specify this option, then the default Spring profile will be used.
There are cases where classes need dependencies injected for us to successfully generate tests. An example of this can be seen in the Mocking section of the Cover Example Tests topic. This option is disabled by default.
Last modified 23d ago