Knowledge Base > IntelliJ Plugin > Spring configuration options

Spring configuration options

Active profiles

There’s an option to specify any Spring profiles to activate while generating 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.

Allow mocking in Spring integration tests

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.