--- 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/binary-testing-for-shopify-functions md: https://shopify.dev/changelog/binary-testing-for-shopify-functions.md --- [Back to Developer changelog](https://shopify.dev/changelog) December 10, 2025 Tags: * Tools * Functions # Binary testing for Shopify Functions 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).