Worked test reports

Regression report for a CSV export that shifts values into the wrong columns

The public CSV columns remain id, city in that order. Compare two versions of a small, runnable fixture. The inputs, expected values and recorded results are public.

Can a customer safely import the changed file into their downstream system?

The original implementation failed the “Record inserted in reverse order” check. Expected 17,Bath and observed Bath,17. The corrected implementation met both expectations on the same inputs.

What the control case missed

Both records have the same data but their object keys were inserted in different orders. Building a row from the object's values silently swaps the ID and city while leaving the CSV syntactically valid.

Observed values from the two implementations
CheckExpectedOriginalCorrected
Record in schema order17,Bath17,Bath17,Bath
Record inserted in reverse order17,BathBath,1717,Bath

What to check before merging

Serialize fields by the declared header order and parse the output in the test. This case isolates column order. Quoting, embedded newlines and spreadsheet formula handling each need a separate fixture.

Reproduce the recorded result

Download the Node.js fixture and run node run.mjs csv-export-column-order with Node.js 24. Compare the printed JSON with the recorded results. This is a locally executed model of the regression, using synthetic inputs. It covers the rule shown here. Hosted runs, browser behaviour and customer PRs require their own evidence.

Primary documentation

Your next release starts here

Keep building.
Put testing to work.

Give Cue April your next testing challenge. Let your AI quality lead coordinate the checks, so your team can focus on what comes next.

Create account

Create your account, connect a repository and review your proposed setup before approving a run.