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

  • Mastering Symfony
  • Sohail Salehi
  • 253字
  • 2021-07-16 11:29:00

The importance of Continuous Integration

Imagine that we are a team working on the subject of this book (which is a task management and team collaboration web application). Suppose that I'm working on CoreBundle, you are working on ProjectBundle, and James (another developer) is working on UserBundle. As individuals, we are doing our job professionally; we create tests and scenarios, maintain best practices for the coding, and make sure that all tests pass successfully every time we finish developing a new feature. However, there is one big problem here. There is not that much communication here because we work individually.

Having said this, we will much likely experience Integration Hell at the end when we try to integrate all the individual components into the main application. Statistics show that the amount of resources spent on fixing these integration issues sometimes equals to the same amount spent on creating the code itself.

CI is a software development practice that helps catch integration bugs the moment they are born. It is like a big brother watching every member of the development team and, as soon as he/she tries to integrate a new feature into the main application, big brother takes the code, runs everyone's tests against it, generates some reports, and only if everything is okay, generates a fresh build for the project and notifies everyone about it.

The moral of the story is it does not make bugs disappear, but because it looks for them constantly, finding and fixing them is easier and faster.

主站蜘蛛池模板: 久治县| 灵璧县| 新邵县| 白河县| 化德县| 塔河县| 临漳县| 河西区| 绵阳市| 揭阳市| 增城市| 崇阳县| 博乐市| 晋城| 游戏| 中江县| 宜城市| 邳州市| 依安县| 吐鲁番市| 定安县| 滕州市| 高碑店市| 辽中县| 商城县| 湄潭县| 铜山县| 新野县| 咸阳市| 新野县| 泸水县| 绥棱县| 北海市| 巴塘县| 特克斯县| 四会市| 金塔县| 浙江省| 府谷县| 邢台县| 临江市|