Documentation Index
Fetch the complete documentation index at: https://mintlify.com/get-convex/convex-backend/llms.txt
Use this file to discover all available pages before exploring further.
Rust tests
The Convex Backend uses cargo-nextest for running Rust tests in CI, but you can also use standard cargo test commands.Running all tests
Test a specific package:Running specific tests
Test a specific test or test group:Using cargo-nextest
For faster test execution, install and use cargo-nextest:Test environment variables
Some tests may require environment variables. For example, database tests use:TypeScript tests
Running tests for a specific package
Navigate to the package directory and run tests:Running a specific test file
Pass the file path to the test command:Running ESM tests
Some packages have separate ESM tests:CI testing workflow
The project uses GitHub Actions for continuous integration testing.Rust CI pipeline
The build and test workflow for Rust:TypeScript CI pipeline
The test and lint workflow for TypeScript packages:Database tests
Some tests require database services. In CI, these run with Docker containers:PostgreSQL
MySQL
Test development workflow
When developing tests, follow this iterative workflow:Environment setup
Ensure you have the correct environment before running tests:The Rust nightly version specified in
rust-toolchain will be automatically used when you run cargo commands if you installed Rust via rustup.