我发现在使用JUnit时,
人们会在
Hamcrest
很方便。现在我将使用ScalaTest
。我知道可以使用Hamcrest
,但我想知道是否真的需要。不是ScalaTest
提供了类似的功能吗?还有其他用于此目的(匹配器)的Scala库吗?人们会在
ScalaTest
中使用Hamcrest
吗?