> ## 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

> Test the app on the real kernel in memory, check it in CI, and exercise delivery on a deployment.

Test application logic with [`kernel(app)`](https://docs.bijection.com/development/testing/test-library)
from `@bijectionhq/bijection/test`. It runs the real kernel in memory: entry
admission, `allow`, grants and clearance, guards, the verbs and their
assumptions, tasks and the clock behave as on a deployment. A test acts as the
installation, as any principal through the same client a browser gets, as
every task's performer and as the clock.

Run [`bijection check`](https://docs.bijection.com/development/testing/ci) in CI. It checks label flow,
analyzes guards and refuses a stale `bijection.lock`.

Run [tests on a deployment](https://docs.bijection.com/development/testing/native-backend.md) for what the
kernel cannot stand in for: real identities from your identity provider,
delivery to external receivers, and inbound HTTP through your routes'
verifiers.

Run browser tests against the frontend URL of your test deployment.
Authenticate through the configured identity provider with a test user that
holds the app's intended grants. Give each run responsibility for the data it
creates.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.