ApplicationModuleTest resides in different package then module resulting in "Package %s is not part of any module!" #413
-
Hi, In our project, we have organized our tests into different root packages based on their types, such as unit tests, integration tests, and end-to-end tests. Consequently, our Spring Boot Integration Tests are placed in a package different from their corresponding modules, leading to the occurrence of the “Package %s is not part of any module!” error. To provide more context, our test package structure looks something like this:
We are seeking a solution to explicitly define the module to which a Spring Boot Integration Test belongs. This as part of the We acknowledge that a possible recommendation might be to group tests within the module boundaries, like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This sounds like a reasonable enhancement. I've created #466 to keep track of this. |
Beta Was this translation helpful? Give feedback.
This sounds like a reasonable enhancement. I've created #466 to keep track of this.