当我使用 IDEA 运行 Specs + Scalacheck 测试时,我得到了非常漂亮的输出:
Specification "CoreSpec"
The core grammar should
+ parse any encoded string
+ fail to parse an empty encoded string
+ parse an expected empty string
+ fail on a non-empty string when expecting an empty string
+ parse well-formed coordinates
为了让我的测试与 Maven 一起运行,我通常有:
class CoreSpecTest extends JUnit4(CoreSpec)
...但是输出不是很令人满意:
Running CoreSpecTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.782 sec
Results :
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
在这种情况下,有没有办法获得漂亮的输出?
谢谢...