如果你觉得一段代码难于理解,那么就写一个单元测试。
If you think a piece of code is confusing, write unit tests for it.
编写单元测试通常是为了测试一段源代码。
A unit test is usually written to test a piece of source code.
将一段时间内的多个客户端操作分组到一个原子(不可分割)单元。
Groups multiple client actions over a span of time into an atomic (indivisible) unit.
Why this period as a unit?
为什么这段时间被分成一个时间单元
应用推荐