Skip to main content

Verification

Prove it does what the old system did

Modern code that looks right isn't enough. Before anything reaches UAT, the factory runs the same inputs through the legacy and modern systems, compares the outputs and makes every difference visible.

Illustrative walkthrough

One rule, four steps

Illustrative sampleIllustrative sample code, written for this page. Not customer code and not output from a real engagement.

A COBOL paragraph that decides whether a claim pays

The decision is real business logic, but it lives in a paragraph name and a few literals.

      * ILLUSTRATIVE SAMPLE - NOT CUSTOMER CODE
       2100-CALC-PAYOUT.
           EVALUATE TRUE
               WHEN CLM-TYPE = 'AU' AND POL-TIER = 'G'
                   MOVE 250  TO WS-DEDUCT
               WHEN CLM-TYPE = 'AU'
                   MOVE 500  TO WS-DEDUCT
               WHEN OTHER
                   MOVE 1000 TO WS-DEDUCT
           END-EVALUATE
           IF CLM-AMOUNT > WS-DEDUCT
               COMPUTE WS-PAYOUT = CLM-AMOUNT - WS-DEDUCT
               SET CLAIM-PAYABLE TO TRUE
           ELSE
               MOVE ZERO TO WS-PAYOUT
               SET CLAIM-NOT-PAYABLE TO TRUE
           END-IF.

Method

How equivalence is established

  1. 01

    Rules first

    Each recovered rule is reviewed by a business expert, so tests check intended behavior, not only reproduced behavior.

  2. 02

    Cases from three sources

    Recorded production inputs (masked or synthetic where policy requires), boundary cases derived from each rule, and cases your experts add.

  3. 03

    Side-by-side runs

    Legacy and modern systems process the same inputs. Outputs, side effects and data changes are compared field by field.

  4. 04

    Explain every difference

    A mismatch is either a defect to fix or an intended change, such as a known legacy bug, that a named person accepts. Unexplained differences block UAT.

Evidence

What reviewers receive

Every UAT evidence pack includes the equivalence report, rule-to-test traceability and the list of accepted differences with their approvers.

Next step

Test the method on your own rules

During a pilot, equivalence testing runs on one journey from your estate, with case-level results.

Stories labeled "Illustrative story" are fictional and contain illustrative figures only.