主要的优点: 1. 易读性 2. 错误信息更方便 推荐阅读:https://objectpartners.com/2013/09/18/the-benefits-of-using-assertthat-over-other-assert-methods-in-unit-tests/ 相关文章: 2022-01-15 2021-04-25 2022-12-23 2021-04-05 2022-01-13 2021-12-25