Refactor Nginx configuration and update project dependencies
- Cleaned up the Nginx configuration for the Coolify deployment, ensuring proper formatting and organization. - Updated the `pyproject.toml` file to maintain consistent formatting. - Reformatted the `requirements.txt` file for better readability while keeping the dependencies unchanged.
This commit is contained in:
1 parent
3b8c30c289
commit
a4b874598d
88 files changed
+9766
-9766
No files matched your search
+19
-19
@@ -1,19 +1,19 @@
|
||||
# Testing Strategy
|
||||
|
||||
The FastAPI backend will be tested using a combination of unit and integration tests.
|
||||
|
||||
## Unit Tests
|
||||
|
||||
- Use `pytest` with `pytest-asyncio` for async endpoint handlers.
|
||||
- Mock external dependencies such as the DuckDB connection and the openrouter.ai API.
|
||||
|
||||
## Integration Tests
|
||||
|
||||
- Use `pytest-flask` to spin up the FastAPI app in a test client.
|
||||
- Test full request/response cycles for authentication, user CRUD, and AI generation endpoints.
|
||||
- Use an in‑memory DuckDB instance for database tests.
|
||||
|
||||
## Test Coverage
|
||||
|
||||
- Aim for >80 % coverage on the `app/` package.
|
||||
- Generate coverage reports with `pytest-cov`.
|
||||
# Testing Strategy
|
||||
|
||||
The FastAPI backend will be tested using a combination of unit and integration tests.
|
||||
|
||||
## Unit Tests
|
||||
|
||||
- Use `pytest` with `pytest-asyncio` for async endpoint handlers.
|
||||
- Mock external dependencies such as the DuckDB connection and the openrouter.ai API.
|
||||
|
||||
## Integration Tests
|
||||
|
||||
- Use `pytest-flask` to spin up the FastAPI app in a test client.
|
||||
- Test full request/response cycles for authentication, user CRUD, and AI generation endpoints.
|
||||
- Use an in‑memory DuckDB instance for database tests.
|
||||
|
||||
## Test Coverage
|
||||
|
||||
- Aim for >80 % coverage on the `app/` package.
|
||||
- Generate coverage reports with `pytest-cov`.
|
||||
Reference in new issue
Block a user