mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
chore: Update pytest duration reporting in pyproject.toml and refine testing documentation
This commit is contained in:
parent
f52090391a
commit
2fef971fa9
2 changed files with 3 additions and 7 deletions
|
|
@ -9,14 +9,10 @@ SurfSense uses [pytest](https://docs.pytest.org/) for end-to-end testing. Tests
|
|||
|
||||
Before running tests, make sure the full backend stack is running:
|
||||
|
||||
- **FastAPI backend** (`uv run main.py`)
|
||||
- **FastAPI backend**
|
||||
- **PostgreSQL + pgvector**
|
||||
- **Redis**
|
||||
- **Celery worker** — start with explicit queue names:
|
||||
|
||||
```bash
|
||||
uv run celery -A celery_worker.celery_app worker --loglevel=info --concurrency=1 --pool=solo --queues="surfsense,surfsense.connectors"
|
||||
```
|
||||
- **Celery worker**
|
||||
|
||||
Your backend must have **`REGISTRATION_ENABLED=TRUE`** in its `.env` (this is the default). The tests register their own user on first run.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue