官术网_书友最值得收藏!

Running all the tests

It is very important that all the tests are run and not only the last test that was written. The code that we just wrote might have made the last test pass while breaking something else. Running all the tests confirms not only that the implementation of the last test is correct, but also that it did not break the integrity of the application as a whole. This slow execution of the whole test suite is a sign of poorly written tests or having too much coupling in the code. Coupling prevents the easy isolation of external dependencies, thus increasing the time required for the execution of tests.

In this phase, we are in the green state. All the tests are passing and the application behaves as we expect it to behave.

主站蜘蛛池模板: 泊头市| 策勒县| 宝丰县| 潮安县| 金堂县| 东丽区| 桃江县| 深圳市| 虎林市| 全南县| 抚顺市| 抚远县| 江陵县| 江城| 九龙城区| 海南省| 新邵县| 原阳县| 延边| 金阳县| 新巴尔虎左旗| 财经| 广宁县| 轮台县| 富阳市| 双城市| 邯郸县| 南木林县| 玛多县| 南召县| 嘉义市| 莱芜市| 常山县| 高阳县| 井研县| 潮安县| 尚义县| 太仓市| 政和县| 莆田市| 抚州市|