No tests found for given includes: [com.xxx.smm.kafka.KafkaTopicCountMonitorTest.test](filter.inc

Idea’s error in springboot + gradle test: no tests found for given includes

Solution map

Gradle: IntelliJ idea uses gradle as the default test runner . As a result, the same test results are obtained on the continuous integration (CI) server. In addition, tests that run on the command line will always run in the IDE

IntelliJ idea: select this option to delegate test procedures to IntelliJ idea. In this case, IntelliJ idea uses JUnit test runner, and the test runs faster due to incremental compilation

Similar Posts: