Is there any possibility to use @DataMongoTest in Spock tests?

367 views Asked by At

I want to use @DataMongoTest annotation in my Spock integration tests in order to use embedded in-memory Mongo. Using it with standard @SpringBootTest doesn't work. Is there any possibility to do that?

I can see that this annotation is connected with SpringRunner / JUnit, but maybe there is some workaround?

0

There are 0 answers