All publications

AI-Augmented Engineeringby Roland Westphal20243 min read

Ensuring functionality in modernisation projects

How do you preserve functionality when modernising in-house software? Partial migrations instead of a big bang, running old and new systems in parallel, and automated testing.

The problem

We all know the situation: an in-house application that has grown over many years is to be modernised and made future-proof – but how do we make sure that its functionality has not suffered after the modernisation and that, in the worst case, errors do not creep into established processes?

There can be various reasons for modernisation:

  • The continued use of outdated development environments and frameworks that are no longer actively developed
  • The mountain of technical debt has grown so large that changes and extensions can only be made in the old tech stack
  • Process knowledge and software logic are concentrated in a few developers – in the worst case, in individual people

Approaches

Experience shows us that various avoidance strategies and test scenarios lead to success here and guarantee a relaxed migration that remains under control at all times.

Avoiding a big-bang switchover

One of the most important points is that a big-bang switchover should be avoided at all costs – otherwise you might as well strike the next few evenings and weekends from your personal plans straight away. Identifying modules and components is the decisive factor here in defining a manageable number of partial migrations.

Parallel operation

A proven method of safeguarding functionality during modernisation is parallel operation. Here, the old and the new version of the software are run at the same time. This approach allows both systems to be used and compared side by side to make sure that all functions work as expected. The advantages of parallel operation are:

  • Direct comparison of the results and performance of both systems
  • The option of switching users or modules over step by step
  • Lower risk, since it is possible to fall back on the old version quickly if problems arise

Automated testing

Automated tests play a central role in safeguarding functionality during modernisation projects. Using continuous testing methods ensures the integrity of the system and thus also enables a smooth migration. Automated tests take the following aspects into account:

  • Fast identification and correction of errors
  • Ensuring that new changes do not impair existing functions
  • The ability to run extensive test cases regularly and consistently
  • Less manual testing effort and therefore time savings

In our experience, integration tests above all have proved indispensable here. Among other things, real business transactions are tested and compared with previous results from the legacy system. Using in-memory databases makes good performance possible even with a large number of test cases, which in turn contributes to very high code coverage.

Case study

A recent case involved the complex calculation and generation of machine programs for the textile industry. Using the strategy described above, we were able to carry out a successful modernisation. In the first step, the existing code base was split into modules; from a business perspective, this could be done by dividing it into different product groups. This ensured that the migration could take place step by step, one product group at a time.

The legacy system's generation of a large number of machine programs gave us a large volume of test data that we were able to use to feed our integration tests; the aim was code coverage of > 95% for the critical modules.

After individual product groups went live, parallel operation ensured – by comparison with the legacy system – that new machine programs are also calculated correctly in the modernised software. In fact, since go-live not a single error has occurred that required the modernised code to be changed. In that respect, we can certainly speak of a successful modernisation here, and nothing now stands in the way of further development with the current tech stack.

AI-Augmented Engineering

Working on a similar topic?

Tell us what you are working on. We'll put you in touch with Roland Westphal and the team working on this topic.

Send an enquiry

At least 20 characters.

Fields marked with * are required.