springtestdbunit / spring-test-dbunit

Integration between the Spring testing framework and DBUnit
http://springtestdbunit.github.com/spring-test-dbunit/
Apache License 2.0
476 stars 238 forks source link

Gradle test task not work #167

Open sinh927 opened 4 years ago

sinh927 commented 4 years ago

I use spring-test-dbunit 1.3.0, JUnit5, Eclipse and Gradle5.6.4. The junit test works in Eclipse. However, tests in Gradle do not work.

Gradle says no tests can be found. If I run without writing a TransactionDbUnitTestExecutionListener OR DbUnitTestExecutionListener, the test works.

dvalyaev commented 4 years ago

I have the same configuration but intellij idea instead of eclipse, and I have the same problem. Idea can run tests but gradle doesn't see them.