> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing

> Testing your backend

Bijection makes it easy to test your app via automated tests running in JS or
against a real backend, and manually in dev, preview and staging environments.

## Automated tests

### `bijection-test` library

[Use the `bijection-test` library](/testing/bijection-test) to test your functions
in JS via the excellent Vitest testing framework.

### Testing against a real backend

Bijection open source builds allow you to test all of your backend logic running on
a real [local Bijection backend](/testing/bijection-backend).

### Set up testing in CI

It's a good idea to test your app continuously in a controlled environment. No
matter which way automated method you use, it's easy to run them with
[GitHub Actions](/testing/ci).

## Manual tests

### Running a function in dev

Manually run a function in dev to quickly see if things are working:

* [Run functions from the command line](/cli/reference/run)
* [Run functions from the dashboard](/dashboard/deployments/functions#running-functions)

### Preview deployments

[Use preview deployments](/production/multiple-deployments#using-preview-deployments) to get
early feedback from your team for your in-progress features.

### Staging environment

You can set up a separate project as a staging environment to test against. See
[Deploying Your App to Production](/production/overview#staging-environment).
