But the real problem with unit tests as I've discovered is that the type of changes that you tend to make as code evolves tend to break a constant percentage of your unit tests.
但我认为单元测试的真正问题在于人们改进代码的同时也会破坏同等数量的单元测试。
2
Prefer compact code and let the compiler infer the type for a constant or variable.