Svashasan Logo
Simulated data

Simulation, Testing and Validation · Test methodology

Regression Testing

Also known as regression tests, non-regression testing, baseline testing

BeginnerSource-checked · awaiting technical reviewLast reviewed 6 December 2026

Re-running previously passed tests after a change to software, configuration, models or the operating environment, to detect whether the change has introduced or exposed defects in behaviour that worked before.

Explanation

The ISTQB glossary defines regression testing as change-related testing that checks whether defects have been introduced or uncovered in unchanged areas of the software. It differs from confirmation testing, which re-runs a test after a defect fix to confirm that the specific failure no longer occurs.

Automotive software changes constantly through feature work, calibration changes, model updates and over-the-air releases, so regression suites run at every level: model-in-the-loop, software-in-the-loop, hardware-in-the-loop and scenario simulation. Baseline testing is a common form: MathWorks' Simulink Test compares new simulation outputs with stored baseline data within absolute and relative tolerances, illustrated with an anti-lock braking model. For learned perception models, regression checks compare key metrics on fixed evaluation datasets and scenario sets.

A regression suite only detects regressions in what it covers. Nondeterministic simulations produce flaky results; tolerances that are too tight create noise and too loose hide real changes; and baselines must be updated deliberately, with review, when behaviour changes on purpose. Because full suites can be expensive, teams prioritise or select tests based on what changed.

How it works

A versioned test suite and its expected results or baselines are maintained alongside the code. Each change triggers a build and the selected tests in continuous integration. Outputs are compared with expected results within tolerances; failures are triaged as either unintended regressions or intended behaviour changes, and baselines are updated only after review.

Automotive applications

  • CI testing of ECU software
  • Checking OTA software releases before deployment
  • Perception-model updates against fixed benchmark sets
  • Simulation scenario regression suites

Example

After a brake-controller calibration change, CI reruns 300 baseline tests on the ABS model. One test shows wheel slip outside its tolerance band on a low-friction surface, so the change is blocked until engineers decide whether it is a regression or an intended improvement.

An illustrative example: any figures in it are worked numbers, not measurements.

References

  1. ISTQB Glossary: regression testing (opens in a new tab)

    International Software Testing Qualifications Board (ISTQB) · Publication · Definition; wording confirmed via web search because the page renders client-side · retrieved 6 December 2026

    “A type of change-related testing to detect whether defects have been introduced or uncovered in unchanged areas of the software.”
  2. Baseline Testing (Simulink Test) (opens in a new tab)

    MathWorks · Manufacturer documentation · Baseline test workflow (sldemo_absbrake example) · retrieved 6 December 2026

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.