关于[Writing Better Assertions: Stop Using Assert.True for Expressions]的摘要:
One thing I keep running into in codebases lately (especially those where the team was new to writing automated tests), is assertions using expressions with Assert.True (or equivalent depending on your framework or language). The problem here is consider the following code
原文地址: https://scottsauber.com/2021/02/01/writing-better-assertions-stop-using-assert-true-for-expressions/