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

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.

主站蜘蛛池模板: 林西县| 新安县| 肇庆市| 马公市| 北辰区| 介休市| 内黄县| 新乡县| 黑山县| 余干县| 和田县| 镇安县| 敦化市| 韶山市| 博野县| 子长县| 万宁市| 吉林市| 东山县| 扶风县| 泰州市| 共和县| 临武县| 垣曲县| 临颍县| 日照市| 敦煌市| 光泽县| 法库县| 博客| 游戏| 治多县| 禹州市| 班玛县| 龙南县| 灵璧县| 巧家县| 新建县| 巴林右旗| 习水县| 沈阳市|