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

Continuous integration

When you are developing, the code is scattered between many teams and various technologies. This code may be organized into different modules and may have applicable bounded contexts for respective sub-models.

This sort of development may bring with it a certain level of complexity with regard to duplicate code, a code break, or maybe broken-bounded context. This happens not only because of the large size of the code and the domain model, but also because of other factors, such as changes in team members, new members, or not having a well-documented model, to name just a few.

When systems are designed and developed using DDD and agile methodologies, domain models are not designed fully before coding starts, and the domain model and its elements evolve over a period of time with continuous improvements and refinement happening gradually.

Therefore, integration continues, and this is one of the key reasons for development today, so it plays a very important role. In continuous integration, code is merged frequently to avoid any breaks and issues with the domain model. Merged code not only gets deployed, but it is also tested on a regular basis. There are various continuous integration tools available on the market that merge, build, and deploy the code at scheduled times. These days, organizations put more emphasis on the automation of continuous integration. Hudson, TeamCity, and Jenkins CI are a few of the popular tools available today for continuous integration. Hudson and Jenkins CI are open source tools, and TeamCity is a proprietary tool.

Having a test suite attached to each build confirms the consistency and integrity of the model. A test suite defines the model from a physical point of view, whereas UML does it logically. It informs you of any error or unexpected outcome that requires a code change. It also helps to identify errors and anomalies in a domain model early on.

主站蜘蛛池模板: 江北区| 徐闻县| 通辽市| 临高县| 壤塘县| 北宁市| 拜泉县| 厦门市| 灌南县| 泰州市| 江源县| 双城市| 西安市| 电白县| 巴彦淖尔市| 武宁县| 潞城市| 龙山县| 南郑县| 多伦县| 永平县| 大宁县| 庆元县| 巴中市| 岐山县| 龙山县| 长宁区| 正阳县| 泾源县| 弋阳县| 越西县| 吉木萨尔县| 松溪县| 阳江市| 上林县| 佛山市| 萍乡市| 顺平县| 吉木乃县| 旬邑县| 临颍县|