测试软件的基本方法:通过性测试和失效性测试 1)通过性测试(test-to-pass):不需要想尽办法让软件崩溃,仅仅运用最简单、最直观的 测试用例。 2)在设计和执行测试用例时,总是首先进行通过性测试。
基于32个网页-相关网页
To pass test 外观 ; 合格 ; 合格合格合格合格
What if you only wrote enough code to get the test to pass, and no more?
如果您只编写足够通过测试的代码,而不写多余的代码会怎样?
This is important because the class must shortly return another string for your test to pass.
这是十分重要的,因为该类必须简短地返回另一个字符串才能使测试通过。
This code allows the test to pass, but upon reflection, it's awful!
这段代码允许测试通过,但是再考虑一下,它十分糟糕!
应用推荐