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

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.

主站蜘蛛池模板: 寿阳县| 会泽县| 东山县| 南安市| 台州市| 台东县| 互助| 崇文区| 喀喇沁旗| 富锦市| 静乐县| 凌云县| 灵台县| 安徽省| 苗栗县| 巴彦淖尔市| 台中市| 隆安县| 米易县| 洛川县| 北安市| 朝阳市| 山东省| 迭部县| 京山县| 车致| 开原市| 东山县| 安远县| 竹溪县| 邢台市| 长沙市| 如东县| 怀集县| 开封县| 浮梁县| 中西区| 丰县| 山东省| 峨边| 娄烦县|