Config classes or components are not being scanned in the src/test folder
We have configuration classes in the src/test folder that mock certain interfaces. However, when using @ApplicationModuleTest, these classes are not being scanned, even though they reside in the same module being tested. Interestingly, when using only @SpringBootTest, the classes are picked up correctly. Is there something I might be overlooking or missing in the configuration?
This is likely a duplicate of GH-202. Would you mind giving the 1.4 M3 release a try?
It’s working with 1.4 M3, thanks!
This might be out of scope, but I also have a test entity and a Spring Data test repository in the src folder. The repository is being scanned, but the entity is not. I’m getting the error: "Not a managed type: class com.module.ordering.service.DummyDomainNamedEntityDB."
The entity was in a different module, no worries. Thanks!
That's what I had hoped. Happy coding!