Can I make JUnit more verbose?

后端 未结 10 2085
再見小時候
再見小時候 2021-01-03 21:52

I\'d like to have it yell hooray whenever an assert statement succeeds, or at the very least have it display the number of successful assert statements that were encountered

10条回答
  •  無奈伤痛
    2021-01-03 22:15

    junit's javadoc unfortunately says that only failed assertions are recorded (http://junit.sourceforge.net/javadoc_40/index.html)

    so it seems it would not be possible

提交回复
热议问题