Skip to main content
Test application logic with kernel(app) 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 in CI. It checks label flow, analyzes guards and refuses a stale bijection.lock. Run tests on a deployment 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.