SBT allows specifying different *configurations* for running your tests: Test, IntegrationTest, etc.
By default, the Test configuration looks for sources & resource files in src/test/scala & src/test/resources & the IntegrationTest in src/it/scala & src/it/resources, respectively. When running SBT tasks such as `test`, they will run in the configuration's scope only: `it:test` will only run the integration tests & so on.
IntelliJ's default configuration for ScalaTest seems to be to run all tests in one package, which breaks the above contract if the package starts the same for all the tests (for us, it does). That means, it also is not possible to set up IntegrationTest-specific run / debug configurations as they will be set up by package, not by folder structure as above.
Is it possible to set up IntelliJ, without changing the package structure, to only run ScalaTest in the directory instead?
Happy to provide more clarification if necessary.