How do I use this in a custom test type? #752
Unanswered
jamesforwardnwboxed
asked this question in
Q&A
Replies: 2 comments
-
ping @melix |
Beta Was this translation helpful? Give feedback.
0 replies
-
The plugin configures test resources automatically for all |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using Gradle, I've managed to get this working in the usual
test
execution, however I like having separatetest
(for pure unit tests) andintegrationTest
tasks. I know this shouldn't be strictly necessary in Micronaut, but this is just a personal preference to have them separated. It seems like micronaut test resources only spins up in the defaulttest
task execution. How do I make it work with my integrationTest task?I've tried adding
.dependsOn internalStartTestResourcesService
which does seem to start up the internal test resource service, but does not seem to actually start containers or do any kind of property injection.Beta Was this translation helpful? Give feedback.
All reactions