Retalix Case Study

Retalix speeds up thousands of unit and integration tests accelerating continuous integration cycle times by 90%.- yielding major delivery improvements.

Overview

Retalix 10 Store and Sales Channel suite unifies and streamlines deployment and management of in-store, mobile commerce and online storefront systems. The solution’s agile architecture enables retailers to break away from the practice of integrating disparate ‘silos’ and migrate to a unified, single engine platform for the highest flexibility, the fastest possible time-to-market and outstanding centralized management, monitoring and control. The company’s next generation point-of-sale comprises comprehensive, completely hardware-independent point of sale functionality that can be deployed over a uniquely broad range of hardware platforms and peripherals. The solution integrates closely with all retail touch points, as well as with store and inventory management applications.

Challenge

Developing a robust and extensible platform in the POS space require not only high performance and fully featured solution but ensure high quality and ever updated software test cycle with a very efficient test from individual develop to a system wide process to ensure high quality and fast releases. Retalix faced a complex and modular system that consume significant amount of resources when developing and testing its software. Having around 15,000 unit testing processes to run in each cycle, its platform need to scale and enable further expansion. Each iteration required set up of its latest version and while such version is updated, others have to wait until they can commit their own test fixes. This whole process used to take 40 minutes and with new hardware and DDS on each developer’s machine it went down to 12 minutes. The objective was to see if there are other ways to shorten this build cycle. After deploying the initial solution, the group has decided to address a second challenge they identified during the implementation: the integration tests within the Continuous Integration process. Each integration process involves setting up the environment, getting VMs ready and running the process to be down 3 times a day after initial optimization and new hardware and took about 2:30 hours, and in some cases even longer – up to 4 hours.

Solution

Retalix installed IncrediBuild agents and each developer in the group could start a unit testing cycle from their own station and use the whole number of cores available on the agents computers. The units comprised about 15,000 tests can now run in parallel. The result was dramatic and allowed developers to completely change the way they work. From 12 minutes with optimized hardware and infrastructure it went down to 1:20 minutes for each single developer. This is about 10 times faster. Where the overall debug version used to take about 50 minutes to 1:10 hours and it was reduced to a mere 10 minutes altogether.

Benefits

The dramatic change the acceleration of the test cycles has on each developer’s performance have allowed Retalix to achieve the following benefits: Reduce build process by reducing test cycle time by 90%. Reducing test cycles and enabling more cycles to take place every day yield a major delivery improvement.

   Before IncrediBuild
(full process)
   With IncrediBuild
(full process)
   30,000 UNIT TESTING    2 hours    12 minutes
   INTEGRATION TEST IN CI    50 minutes 1 minute 20 seconds

” IncrediBuild enabled us to drastically reduce
our release cycles from 12 minutes to 1 minute 20 seconds
allowing us to run any number of builds per day “

Alon Gilat Release Manager,
Retalix, an NCR Company