---
title: Binary testing for Shopify Functions - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/posts/binary-testing-for-shopify-functions'
  md: 'https://shopify.dev/changelog/posts/binary-testing-for-shopify-functions.md'
metadata:
  effectiveApiVersion: ''
  affectedApi:
    - displayName: Functions
      handle: functions-api
  primaryTag:
    displayName: Tools
    handle: tools
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-12-03T16:22:59-05:00'
  postedAt: '2025-12-10T09:30:00-05:00'
  updatedAt: '2025-12-10T07:55:52-05:00'
  effectiveAt: '2025-12-05T12:00:00-05:00'
---

December 10, 2025

# Binary testing for Shopify Functions

DateDecember 10, 2025

FlagsNew

SurfacesTools

Affected APIs[Functions](https://shopify.dev/changelog?api_type=functions-api)

We've released the [`@shopify/shopify-function-test-helpers`](https://www.npmjs.com/package/@shopify/shopify-function-test-helpers) package to simplify writing comprehensive integration tests for Shopify Functions using real production data. All function extension templates now include integration tests powered by this package.

## Why this matters

1. **Test the actual WASM binary**: Integration tests validate the compiled code uploaded to Shopify's infrastructure, helping to catch breaking changes before they hit production; including compilation errors, runtime crashes, or serialization issues that unit tests might miss.
2. **Easily add new scenarios**: Create new fixtures in the `tests/fixtures/` directory, and the test suite will automatically include them. There's no need to write additional test code for each new scenario.
3. **Build from real production data**: Create your fixture library by copying function run logs directly from production. This enables you to test against the actual inputs your function encounters, ensuring your tests reflect real-world scenarios.

## Learn more

For more details, visit the [package page](https://www.npmjs.com/package/@shopify/shopify-function-test-helpers) or explore the [Shopify developer documentation](https://shopify.dev/docs/apps/build/functions/test-debug-functions#writing-wasm-integration-tests-for-functions).
