由于这些测试比真正的单元测试运行时间长,因而不能一直运行它们。
Because these tests take longer to run than true unit tests, you may find that you can't run them all the time.
我们要求参赛者在10分钟基准测试运行时间内获得最多的每分钟事务数。
We challenged contestants to get the most transactions per minute during a 10-minute benchmark run.
单元测试不处理数据库、文件系统或任何可能延长测试运行时间的内容;因而,从第一天就可以编写单元测试。
Unit tests don't deal with databases, file systems, or anything else that would tend to make tests run longer; consequently, unit tests can be written from day one.
应用推荐