---
title: Flux testing package
list_title: Testing package
description: >
  The Flux testing package provides functions that test piped-forward data in specific ways.
  Import the `testing` package.
menu:
  v2_0_ref:
    name: Testing
    parent: Flux packages and functions
weight: 205
v2.0/tags: [testing, functions, package]
---

Flux testing functions test piped-forward data in specific ways and return errors if the tests fail.
Import the `testing` package:

```js
import "testing"
```

{{< children type="functions" show="pages" >}}
