In Rwanda, in 2004, TB services were not testing any patients for HIV; in 2007, they tested 89%.
2004年,卢旺达结核病防治部门没有对任何病人进行艾滋病毒感染检测;2007年89%的结核病人接受了此项检测。
Coverage is useful purely as a rough guide as to what you're not testing. The actual percentage of coverage is almost completely irrelevant.
覆盖性只能给你粗略地指出哪里还没测试,覆盖率的具体数值几乎完全没有意义。
In addition to the overflow exploits, SQL injection is one other type of attack that relies on developer oversight by not testing incoming data.
除了溢出的利用以外,SQL注入是另一类依赖于开发人员没测试输入数据的疏漏的攻击。
Once I have the sham, I can use it in tests where I'm not testing Person directly, but I am testing how other code interacts with a Person instance.
一旦有了伪对象,我就可以在不直接测试Person,而是测试其它代码如何与Person实例进行交互的测试中用到它。
However, if you can't reliably and automatically test with the real class for any reason, then testing with a mock is infinitely superior to not testing at all.
但是,如果由于某种原因无法用真实的类可靠且自动地进行测试,那么用mock进行测试肯定比根本不测试强。
Those are properly marketing activities, not testing.
这些都是正常的市场营销活动,不是测试。
This failure is easy to understand, but I'm not sure I really want to "fix" it — the method I'm not testing is trivial, and adding tests for trivial methods can be a waste of effort.
这个失败很容易理解,但我不确定是不是真的要“修正”它——我没有测试的这个方法非常微不足道,为这么微不足道的方法添加测试有点浪费精力。
Not testing installation procedures.
不测试安装过程。
Not testing installation procedures.
不测试安装过程。
应用推荐