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

Early integration automation

Since partial automation has already taken place as part of BDD and TDD, and is integrated with the CI server, the service level components can be targeted next as the User Interface (UI) is yet to be made available.

Also, there are times when basic UI automation can be accomplished using mocks and stubs. However, the scripts undergo changes once the final UI is ready. The effort to modify the existing scripts is directly proportional to the quality of mocks and stubs that were provided during the initial automation work.

To enable integration, the CI server builds the system on demand, on schedule, or even as soon as the code is checked in.

  • Each developer can run and test the code on his/her system to ensure that the code is not broken
  • For an early and extensive integration testing, the test team can utilize the features of service, application, and network virtualization

Whether it is UI integration with service a or database layer, or it is the integration of one system with other systems and utilities, virtualization provides solutions in many ways, focusing on the shift-left approach for testing and the ability to run end-to-end scenarios. The service virtualization tools such as CA LISA, IBM Rational Integration Tester, HP Service Virtualization, and Parasoft Virtualize, help with the following:

  • Shortening the release cycle
  • Identifying bugs early in the software life cycle

Since the availability of dedicated test environments at an earlier stage of software lifecycle is rare, virtual test environments or server virtualization can be used to create an environment to run service-level tests and other automated scripts. Refer to the following diagram:

Early integration automation

The interacting and dependent systems' behavior, data, and performance characteristics can be captured and simulated using service virtualization.

The captured services and simulated test data can be deployed on the test environment to represent the dependent system for a seamless early integration test to occur. Take a look at the following diagram:

Early integration automation

Apart from identifying and simulating the services, automating the API interfaces that interact with each other by understanding the API signature allows the early discovery of the underlying defects before the UI is developed. Any change in the API signature by the development team should ideally be communicated to the automation team for a timely update of scripts and to avoid leakage of defects into the next phases.

This kind of integration testing requires the test teams to possess enough technical knowledge on using service virtualization tools and to write API/interface testing code bits. The value and benefits achieved through service virtualization the following:

  • Faster time to market
  • Reduced number of defects
  • Continuous availability of services
主站蜘蛛池模板: 诸暨市| 格尔木市| 凭祥市| 潼关县| 普兰店市| 肥西县| 宜昌市| 三明市| 高安市| 武威市| 会昌县| 东乌珠穆沁旗| 武城县| 双峰县| 屏东县| 马龙县| 奈曼旗| 安阳县| 漳浦县| 平乐县| 徐水县| 文登市| 溧阳市| 弋阳县| 南阳市| 平度市| 嘉荫县| 衢州市| 耒阳市| 天峨县| 张家港市| 余庆县| 当涂县| 民勤县| 富宁县| 九台市| 辉县市| 雷波县| 阜城县| 河津市| 锡林郭勒盟|