Mykhailo Ralduhin

Written by: Senior QA Engineer

Mykhailo Ralduhin

Posted: 30.11.2026

17 min read

Under the EU's Corporate Sustainability Reporting Directive (CSRD), a sustainability report carries numbers an assurance provider will trace – tonnes of CO₂e, kilowatt-hours, cubic metres, hectares – and most ESG software was built to produce those numbers, not to be traced.

This article walks one such number backwards, from the disclosure to the sensor or invoice that produced it, in five steps, and at each step asks what the auditor will ask, what usually breaks, and which test answers the question. The second half covers the products where the data is born – energy, EV charging, solar, water, waste and farms.

We have tested ESG management and EV charging platforms since 2010; our GreenTech software testing page describes the service, and this is the method.

Ready to take your software quality to the next level?

The number, walked backwards

Step
What the auditor asks
What usually breaks
The test

Disclosure

Can you regenerate this exact figure?

Methodology version, boundary, cut-off, restatements

Report regeneration

Calculation

Which factor, which version, which GWP?

Factor updates, unit conversions, mixed methods

The emission golden file

Aggregation

Does the total equal the sum of its parts?

Double counting, estimates never replaced, intensity denominators

Roll-up reconciliation

Integration

Where did each input come from?

Bill ingestion, ERP mappings, supplier data, interval gaps

Contract and validation suites

Source

Is the primary data real and unaltered?

Sensor drift, meter resets, manual entry, missing edit trail

Sensor replay and edit-trail assertions

Why GreenTech and ESG software fails differently

ESG and GreenTech software fails differently because its output is an audited figure assembled from physical measurements under a methodology that changes every year.

  1. 1.

    The output is a regulated number, not a transaction. A payment either happened or did not. A reported 12,418 tCO₂e is a calculation over thousands of inputs, and it can be plausibly wrong by 20% without anything "failing". The regulatory frame is still moving – the EU's 2025 Omnibus package narrowed CSRD to companies with more than 1,000 employees, roughly an 80% reduction in scope, while keeping limited assurance and dropping the planned move to reasonable assurance – but for every company still in scope, the number is audited.

  2. 2.

    Inputs are physical and noisy. Meters, sensors, satellite data, utility bills scanned from PDFs, supplier spreadsheets. None of them arrives clean.

  3. 3.

    Methodologies change. Emission-factor databases are republished annually; the GHG Protocol, the European Sustainability Reporting Standards (ESRS) and the ISSB standards evolve; a correct number last year is wrong this year if the factor was updated and the software did not say so.

  4. 4.

    The data spans the enterprise and its supply chain. CDP and BCG found corporate Scope 3 supply-chain emissions averaging 26 times operational emissions, with only 15% of companies setting a supply-chain target – the largest part of the number rests on the weakest data.

  5. 5.

    Load follows the calendar and the weather. Reporting deadlines, heatwaves that spike energy consumption, harvest season, a cold snap on the EV network.

Our rule: every ESG figure must be reproducible from its inputs by a test, or it is an estimate wearing a decimal point.

Step 1 — The disclosure: the number on the report

What the auditor asks. Which standard and which version of the methodology produced this figure, over which organizational boundary and which period – and can you regenerate it exactly from the stored inputs?

What breaks

  1. 1.

    The report template is on one methodology version and the calculation engine on another; the footnote describes a method the number did not use.

  2. 2.

    The organizational boundary – equity share versus operational control – is applied one way for one subsidiary and another way for the next.

  3. 3.

    Period cut-off: a utility invoice dated 3 January covers December consumption and lands in the wrong year.

  4. 4.

    A restatement overwrites the prior-year figure with no record of what changed or why.

  5. 5.

    Units and rounding drift between sections – tonnes here, kilotonnes there; kWh in one table, MWh in the next.

Tests that answer the auditor

  • Report regeneration: the same stored inputs and the same pinned methodology version must produce byte-identical figures on every release.

  • Boundary fixtures per entity, asserting the consolidation rule applied.

  • Period cut-off fixtures around year and quarter boundaries, including invoices dated after the period they cover.

  • Restatement assertions: the prior figure, the new figure, the reason and the author are all retained.

  • Unit-consistency checks across every section of the generated report.

  • Mapping tests from internal metrics to ESRS, GRI and ISSB datapoints, re-run when any standard is updated.

Step 2 — The calculation: emission factors, conversions and methodologies

What the auditor asks. Which emission factor, from which database and which version, was applied to which activity data, using which global warming potential (GWP) values?

What breaks

  1. 1.

    An emission-factor database update – DEFRA, EPA, ecoinvent, IEA grid factors – is applied retroactively to closed periods, or not applied at all to open ones.

  2. 2.

    The wrong factor is matched to the activity: pure diesel for a biodiesel blend, a location-based grid factor where the method says market-based.

  3. 3.

    Unit conversions chain through litres, kilowatt-hours and kilograms with inconsistent densities and heating values.

  4. 4.

    GWP values from the IPCC's AR5 are used for one gas and AR6 for another.

  5. 5.

    Spend-based and activity-based Scope 3 methods are mixed in one category without a flag.

  6. 6.

    Rounding accumulates across tens of thousands of line items into a visible error in the total.

Tests that answer the auditor

  • The emission golden file – the single most valuable test in ESG software: a fixed activity-data set × emission-factor database versions × calculation methods → expected tCO₂e per line and in total, approved once by the methodology owner and version-controlled. It re-runs on every factor-database update and every release, not only on code changes.

  • Factor-version pinning asserted on every calculation record, so each line carries the database and version that produced it.

  • Conversion matrices with reference values for every unit chain.

  • GWP-set consistency checks across all gases in a calculation.

  • Method-mixing detection within a Scope 3 category.

  • Rounding-policy tests on large line counts (illustrative: 50,000 lines rounded at the line versus at the total must differ by less than the policy allows).

A methodology document is a requirements specification, and it must be written so that each rule can be turned into a test case; the discipline is the same one we describe in why software requirements testing matters.

Step 3 — The aggregation: from thousands of lines to one figure

What the auditor asks. Does the total equal the sum of its parts – across entities, sites, periods and currencies – and which of those parts are estimates?

What breaks

  1. 1.

    Double counting across the entity hierarchy: a shared site reported by two subsidiaries.

  2. 2.

    Intensity metrics – tCO₂e per euro of revenue, per unit produced – divide one period's emissions by another period's denominator.

  3. 3.

    Spend-based Scope 3 moves with currency and inflation, so emissions "rise" when prices do.

  4. 4.

    Late-reporting sites are filled with estimates that are never replaced by actuals once they arrive.

  5. 5.

    Baselines and targets are not recalculated after an acquisition, a divestment or a methodology change, so progress is measured against the wrong starting point.

Tests that answer the auditor

  • Roll-up reconciliation: the sum of the leaves equals each node equals the root, asserted on every hierarchy change and every load.

  • Intensity-metric golden tests with matched periods and denominators.

  • Estimate-to-actual replacement tests: an estimate is flagged, replaced when the actual arrives, and the replacement is logged.

  • Baseline-recalculation scenarios for mergers, divestments and methodology changes.

  • Dashboard-to-data reconciliation, so the executive view and the audit extract agree.

Step 4 — The integration: ERP, utilities, suppliers and registries

What the auditor asks. Where did each input come from, when did it arrive, and has it changed since?

What breaks

  1. 1.

    Utility-bill ingestion – PDF and OCR, EDI, utility APIs – misreads a meter number or a unit, and a site's consumption triples.

  2. 2.

    The ERP spend extract changes its category mapping after a chart-of-accounts update; Scope 3 categories silently shift.

  3. 3.

    A supplier questionnaire reports grams where the form said tonnes, and the value is accepted.

  4. 4.

    A carbon-registry API returns retired credits as available.

  5. 5.

    Building-management and IoT feeds drop or duplicate intervals after a reconnection.

  6. 6.

    Interval data carries the wrong time zone and consumption migrates across month boundaries.

Tests that answer the auditor

  • Contract tests per source with recorded payloads and recorded failure modes – timeouts, partial pages, schema changes – run on a schedule, not only on deploy.

  • Ingestion validation suites: units, plausible ranges, duplicates, outliers, with quarantine rather than silent acceptance.

  • Supplier-data validation rules as blocking tests.

  • Registry contract tests that assert retirement status and serial-number uniqueness.

  • Interval-data replay with gaps, duplicates and reordering.

  • Time-zone fixtures around month boundaries and daylight-saving changes.

The mechanics of recording, mocking and asserting on external APIs are in our step-by-step guide to automated API testing; for event-driven ingestion pipelines, the contract and idempotency techniques in our guide to automated testing for microservices apply directly.

From our projects – Planetly. Planetly's software helps businesses calculate and track carbon footprints, analyze emissions, plan reductions and offsets, and manage ESG initiatives. When we joined in 2021 there were no test cases, no automation, and smoke and regression were run by hand. A team of three manual, one automation and one full-stack QA engineer built the process from nothing: 800+ test cases, more than 400 automated end-to-end tests at over 80% automation coverage and over 90% test coverage, more than 1,000 bugs reported, smoke in under ten minutes and regression in under an hour – three times faster – across four parallel threads, three browsers and two localizations. The lesson that shaped the suite: in carbon software the regression trigger is a factor-database update, not a code change, so the emission golden file runs on data releases. Read the Planetly case study. Carbon accounting, ESG reporting and disclosure-mapping coverage is described on our sustainability software testing page.

Step 5 — The source: meters, sensors, invoices and satellites

What the auditor asks. Is the primary data real, complete and unaltered – and who touched it?

What breaks

  1. 1.

    Sensors drift between calibrations and nobody corrects the series.

  2. 2.

    A meter is replaced and the cumulative reading resets to zero; the software records negative consumption or a spike.

  3. 3.

    Estimated reads are used for billing and never reconciled when the actual read arrives.

  4. 4.

    Satellite and remote-sensing data has cloud-cover gaps that are treated as zero rather than missing.

  5. 5.

    Manual data entry accepts anything typed.

  6. 6.

    Edits to source data leave no trail.

Tests that answer the auditor

  • Sensor-data simulation with drift, gaps, spikes and resets, asserting the pipeline's handling of each.

  • Meter-replacement scenarios with expected continuity logic.

  • Estimate reconciliation tests when actuals arrive.

  • Remote-sensing gap handling: missing is missing, never zero.

  • Input validation and edit-trail assertions on every manual entry.

  • Evidence attachment and retention tests, so every figure has a document behind it for the retention period.

The device side – firmware, protocols, timing, bench setups – follows the discipline in our guide on how to test embedded systems.

Where the data is born: testing the products that generate it

The products that generate ESG and energy data share the five-step discipline above and add their own physics.

Energy management and smart-grid software

Energy application QA testing centres on tariff and time-of-use logic, demand-response events and the gap between forecast and actual. Tests: tariff and demand-response rule matrices against expected outcomes; forecast accuracy against actuals as a release metric; utility and distributed-energy-resource API resilience under slow or failing endpoints; simulated meter feeds at production frequency; load tests modelled on heatwave and peak-demand curves.

EV charging and e-mobility

EV charging software testing is a reconciliation problem with hardware attached: more than 1.3 million public charging points were added worldwide in 2024, over 30% growth, taking the global stock past 5 million, and every one of them produces sessions that must agree between charger, backend and app. Tests: OCPP message flows (start, stop, meter values, status, error codes); three-way session-billing reconciliation; roaming via hub protocols; a charger-firmware matrix; offline sessions and delayed uploads; payment idempotency.

From our projects – Dootrix. For a UK EV charging network, Dootrix built a mobile app for monitoring sessions, managing accounts and billing, and following the network's sustainable-energy initiatives, and brought us in to reinforce its in-house QA team. Since 2023 two automation and one manual QA engineer have written 400+ test cases covering functional, usability, security and compatibility aspects, automated 100+ mobile and 50+ backend scenarios across 20+ devices, and logged 100+ bugs, 70% of them blocker, critical or major. The expensive defects were never in the UI: they were session-billing mismatches between what the charger reported, what the backend stored and what the app showed. Read the Dootrix case study.

Solar, storage and renewable monitoring

Solar monitoring software testing turns on telemetry integrity and performance calculations. Tests: inverter and battery telemetry replay with gaps and reconnection bursts; performance-ratio calculations against irradiance reference data; curtailment and export-limit events; alert thresholds including no-alert cases; a device-firmware matrix across inverter vendors. Our work with ESDEC, a solar mounting-systems group, sits alongside this product family.

Water, waste and recycling

Water QA software – and its waste and recycling counterparts – runs on meter and sensor ingestion, alerts and regulated reporting. Tests: meter and sensor replay with gaps and spikes; leak and quality alert logic against thresholds; collection and route scheduling rules; material tracking and compliance-report golden files; customer billing reconciliation to consumption data.

Agritech and precision farming

Agritech software testing is the same stack in a field: worse connectivity and seasons instead of shifts. Tests: field-sensor and weather-data simulation with noise, gaps and drift; offline-first field apps that sync without loss or duplication after a day without signal; equipment integrations over ISOBUS and manufacturer APIs; agronomic calculations – nutrient, spray and irrigation recommendations – against reference models; seasonal peak load at planting and harvest. Farm-management, sensor and equipment coverage is described on our agritech software testing page.

Automation for ESG and GreenTech platforms: what to automate first

Automation for ESG software starts with the tests that make an auditor's job short, and they are all data-driven and API-level.

  1. 1.

    The emission golden file, triggered by factor-database updates and releases.

  2. 2.

    Roll-up reconciliation on every hierarchy change and load.

  3. 3.

    Ingestion contract and validation suites per source, on a schedule.

  4. 4.

    Report regeneration on every release.

  5. 5.

    Sensor and interval replay with gaps, duplicates, reordering and resets.

  6. 6.

    UI smoke last, as a thin layer.

What stays manual: methodology review with sustainability experts, mapping to a newly published standard, and the first onboarding of a new data source. Where the platform estimates emissions or detects anomalies with a model, that model needs an evaluation set and slice-level checks like any other; the approach is in our guide to QA strategies for AI solutions.

GreenTech and ESG software testing checklist

Disclosure

  • Reports regenerate byte-identically from stored inputs and a pinned methodology version.

  • Boundary, cut-off and restatement fixtures run on every release.

  • Units are consistent across every report section; standard datapoint mappings are re-tested on updates.

Calculation

  • The emission golden file covers every factor database, method and unit chain and runs on factor updates.

  • Every calculation record carries its factor version; GWP sets are consistent.

  • Method mixing within a category is detected; rounding policy is tested at scale.

Aggregation

  • Leaves, nodes and root reconcile on every load.

  • Intensity metrics use matched periods; estimates are flagged and replaced.

  • Baselines recalculate on M&A and methodology change.

Integration

  • Every source has contract tests with failure modes, on a schedule.

  • Ingestion validation quarantines bad units, ranges and duplicates; supplier data is validated before acceptance.

  • Registry retirement status is asserted; interval replay and time-zone fixtures pass.

Source

  • Drift, gaps, spikes and meter resets are simulated; estimates reconcile to actuals.

  • Missing remote-sensing data is never zero; manual entries are validated and audited.

Products

  • Energy: tariff and demand-response matrices; forecast accuracy tracked.

  • EV: OCPP flows and three-way billing reconciliation.

  • Solar, water, agritech: telemetry replay, threshold alerts with no-alert cases, offline sync.

Conclusion

An ESG figure is only as good as the test that reproduces it. Two tests do most of the work an auditor would otherwise do by hand: the emission golden file, which proves every calculation against approved results and re-runs whenever a factor database changes, and the roll-up reconciliation, which proves the total is the sum of its parts on every load. Build those two, add contract tests on every data source and replay tests on every sensor feed, and the trace from the report to the meter becomes a report of its own.

If you want to see it on your platform, talk to us about a free proof of concept on one number: regenerate one reported figure from its inputs under test, or build the emission golden file for one scope.

Book a strategic QA consultation

FAQ

How do you test ESG and carbon accounting software?

By walking a reported figure backwards and testing each step: report regeneration from pinned inputs and methodology; an emission golden file across factor databases, methods and units; roll-up reconciliation across the entity hierarchy; contract and validation suites on every data source; and sensor, meter and manual-entry tests at the origin — with the suites triggered by factor-database and standard updates as well as by code changes.

Who specializes in quality automation services for environmental tech?

Look for a partner that treats the reported number as the product: one that builds emission golden files and roll-up reconciliation before UI tests, runs regression on factor-database updates, has a sensor and interval replay harness, and can show climate-tech cases with numbers. DeviQA runs a dedicated practice for ESG, energy and environmental products — for Planetly's ESG platform, 400+ automated end-to-end tests at over 90% coverage; for an EV charging network, 150+ automated scenarios across 20+ devices — and starts every engagement with a free proof of concept on one data flow.

How do you test emission-factor calculations?

With a golden file: fixed activity data × emission-factor database versions × calculation methods, with expected results approved by the methodology owner and version-controlled; factor-version pinning on every calculation record; unit-conversion matrices with reference values; GWP-set consistency checks; and re-execution on every factor-database publication.

How do you test energy and EV-charging applications?

Energy: tariff and demand-response rule matrices, forecast-versus-actual accuracy as a release metric, utility API resilience and heatwave load models. EV charging: OCPP message-flow tests, three-way reconciliation of sessions between charger, backend and app, roaming and firmware matrices, offline-session handling and payment idempotency.

What does CSRD assurance mean for ESG software testing?

That the figures in a sustainability report will be traced by an assurance provider from disclosure to source. Software that cannot regenerate a figure from stored inputs under a pinned methodology, or cannot show where each input came from, will not survive the trace — so regeneration, lineage and reconciliation tests are no longer optional. Scope and timing changed with the EU's 2025 Omnibus package, but limited assurance remains for companies still in scope.

How do you test agritech and water management software?

With sensor and meter replay that includes noise, gaps, drift and resets; offline-first field-app tests that sync without loss or duplication; equipment and utility integration contracts; agronomic or hydraulic calculations compared with reference models; threshold alerts including no-alert cases; and load tests on seasonal peaks.

Mykhailo Ralduhin

About the author

Mykhailo Ralduhin

Senior QA engineer

Mykhailo Ralduhin is a Senior QA Engineer at DeviQA, specializing in building stable, well-structured testing processes for complex software products.