Running a single JUnit5 test on gradle exits with STANDARD_ERROR

Viewed 6915

The test being run shows passed, but the Gradle Test Executor shows a STANDARD_ERROR.

>>./gradlew --stop                                                                                                     
Stopping Daemon(s)
1 Daemon stopped
>>./gradlew test --tests com.tudu.task.TaskListTests.tasksAddedSequentiallyWithDescendingDueDateAreSortedByAscendingDueDate
Starting a Gradle Daemon, 8 stopped Daemons could not be reused, use --status for details

> Task :test

Gradle Test Executor 1 STANDARD_ERROR
Mar 11, 2021 4:53:00 PM org.junit.platform.launcher.core.EngineDiscoveryOrchestrator lambda$logTestDescriptorExclusionReasons$7
INFO: 0 containers and 1 tests were Method or class mismatch

TaskListTests > tasks added sequentially with descending due date are sorted by ascending due date PASSED

This error does not occur when I run the complete test file.

>>./gradlew test --tests com.tudu.task.TaskListTests                                                                       

> Task :test

TaskListTests > tasks added sequentially with descending due date are sorted by ascending due date PASSED

TaskListTests > tasks added sequentially with random due date are sorted by ascending due date PASSED

What does "Method or class mismatch" mean? What is causing the STANDARD_ERROR?

1 Answers
Related