简体   繁体   中英

How to show only class name when running unit tests from gradle project in IntelliJ IDEA?

For IntelliJ IDEA Community Edition v2020.3.1

When I run a test from a Gradle project, the full name of the class is displayed. But this does not happen when I run the same type of test in a Maven project. It's a bit annoying because it's not easy to read when you run multiple unit tests.

Maven & Gradle projects on IntelliJ IDEA screenshot:

截屏

It is not possible to hide/disable grouping by packaged for Gradle. Feel free to file a request for this at https://youtrack.jetbrains.com/issues/IDEA .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM