如何在 Gradle 的测试中显示详尽的错误信息 Posted on 2019-02-02 Word count in article: 150 Reading time ≈ 1 mins. 在build.gradle中添加如下设置: 12345test { testLogging { exceptionFormat = 'full' }} 参考: Gradle Goodness: Show More Information About Failed Tests