Skip to content
All projects

Test automation for OTA updates across a vehicle fleet

Project write-up

The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.

In brief

Problem
Every update must be tested on many vehicle variants and software versions.
Approach
We automate testing of OTA campaigns on a virtual fleet (control unit simulators) and on benches with real hardware: download, signature verification, installation, rollback on failure.
Goal
Successful OTA updates in the fleet test: ≥ 99.5%; Share of automated regression cases: ≥ 70% of critical paths.

Client context

Automotive suppliers work in a chain where the vehicle manufacturer requires compliance with ISO 26262, ASPICE, and TISAX, and deadlines follow the homologation calendar. This client is a provider of a telematics and over-the-air (OTA) update platform for commercial vehicle manufacturers.

Challenge

Every update must be tested on many vehicle variants and software versions. An update failure can immobilize a vehicle.

Requirements and constraints

  • UNECE WP.29 Regulations R155 and R156 require a cybersecurity management system (CSMS) and a software update management system (SUMS) for type-approved vehicles. Every OTA update must be tested, signed, and traceable to the vehicle version. (source)
  • ISO 26262 (functional safety of vehicles) requires ASIL classification, traceability of safety requirements to tests, and independent verification. All tools used in the verification chain must have a justified qualification. (source)
  • The Cyber Resilience Act (EU Regulation 2024/2847) imposes security obligations across the whole life cycle on manufacturers of products with digital elements: vulnerability management, SBOM, and reporting of actively exploited vulnerabilities. (source)
  • Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every deliverable shipped with documentation that the client's team can take over.

Approach and architecture

Instead of automating everything in manual regression, we select cases using a simple calculation: execution frequency, feature stability, maintenance cost, and risk. Tests are data-independent (each one prepares and cleans up its own data), carry tags that let us run smoke, regression, and nightly suites, and unstable tests go into quarantine instead of blocking releases.

We automate testing of OTA campaigns on a virtual fleet (control unit simulators) and on benches with real hardware: download, signature verification, installation, rollback on failure.

Key elements of the solution:

  • Virtual fleet with unit simulators
  • Tests on hardware benches
  • Scenarios for interrupted and rolled-back updates
  • Traceability reports down to the vehicle version

Team and roles

RoleCountResponsibility
QA lead1organizing the testers' work, test case reviews, defect metrics
Test automation engineer3framework, scripts, CI integration
Embedded software engineer (C/C++)1device software, HIL tests
Product owner and domain experts (client side)as neededpriorities, business decisions, acceptance

Phased schedule

PhaseWeeksDeliverable
1. Regression audit and selection of candidates1–3automation map, cost-benefit calculation
2. Framework build and CI integration4–8framework, pipeline, test code standard
3. Automation of critical paths9–16smoke and regression suites
4. Stabilization and reporting17–21quality dashboard, quarantine for unstable tests
5. Handover and team training22–24documentation, workshops, maintenance plan

Technology stack

Python, pytest, ECU simulators, CAN, Docker, GitLab CI.

Risks and how we mitigate them

RiskHow we mitigate it
Delays in delivery of hardware and devicessimulators and emulators in tests, earlier orders, HIL tests on prototypes
Unstable automated teststest quarantine, root cause analysis, stable selectors and independent data
Test environments unavailable or unstableenvironment booking schedule, virtualization of external services (mocks), daily environment smoke test

Measurable goals and KPIs

The values below are targets that we agree with the client after a baseline measurement in the first phase.

KPITargetHow it is measured
Successful OTA updates in the fleet test≥ 99.5%test campaign reports
Share of automated regression cases≥ 70% of critical pathstest repository
Full regression timefrom days to hours, target ≤ 8 hsuite execution time in CI

Lessons learned and good practices

Scenarios where an update is interrupted (loss of power or network) matter most and are tested least often. A virtual fleet lets us test combinations that cannot be built in hardware. Automation pays off when it runs on every change, not once before a release.

Why B2B.net

We combine two models: we supply individual specialists and entire teams (time and materials, team leasing), and when a client prefers to hand over responsibility for the outcome, we work at a fixed price for a defined scope. We have access to a large network of engineers in six cities, SAP Center of Expertise competencies, and experience with ISO 27001, DORA, and NIS2 requirements. If someone leaves the team, a replacement is in place within 5 business days.

Acceptance criteria

Each phase ends with a formal acceptance against criteria agreed at the start. In this project, acceptance covers: automation map, cost-benefit calculation; framework, pipeline, test code standard; smoke and regression suites; quality dashboard, quarantine for unstable tests; documentation, workshops, maintenance plan. Final acceptance requires a report of the KPI measurement against the baseline, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with the cost and risk of each one assessed.

Next step

If you recognize these problems in your organization, let's start with a short diagnosis: one workshop with your team and written recommendations. Write to us at office@b2bnetwork.pl.

What would this look like for you?

Book a 30-minute call. We will prepare a plan for the first weeks and a team matched to your system.

Let's talk

B2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.

More projects: Automotive