6850918e3d05f8bbb75973a463aed2bf2ca704e0
Paperless-NEO
Backend Integration Tests
Integration tests require a running Postgres instance. The repository includes a lightweight compose file for local runs:
docker compose -f docker-compose.test.yml up -d
export TEST_DATABASE_URL=postgres://paperless:paperless_test@localhost:5433/paperless_test
cargo test
Stop the database when you are done:
docker compose -f docker-compose.test.yml down
The compose service uses tmpfs storage, giving each test run a clean database.
Languages
TypeScript
48.4%
Rust
43.5%
CSS
6.1%
PLpgSQL
1%
Dockerfile
0.6%
Other
0.4%