CollectionAssert in jUnit?

前端 未结 4 979
臣服心动
臣服心动 2020-12-02 12:13

Is there a jUnit parallel to NUnit\'s CollectionAssert?

4条回答
  •  情歌与酒
    2020-12-02 12:17

    Take a look at FEST Fluent Assertions. IMHO they are more convenient to use than Hamcrest (and equally powerful, extensible etc) and have better IDE support thanks to fluent interface. See https://github.com/alexruiz/fest-assert-2.x/wiki/Using-fest-assertions

提交回复
热议问题