Framework Mode - Database rollback fixtures
Folder Structure
tests/ ├── test_users.py ├── test_orders.py ├── conftest.py src/ ├── app.py ├── db.py utils/ ├── db_helpers.py
tests/ ├── test_users.py ├── test_orders.py ├── conftest.py src/ ├── app.py ├── db.py utils/ ├── db_helpers.py
db_session that manage database transactions and rollback after each test.tests/ use fixtures to run tests isolated from each other.src/db.py.function scope for rollback fixtures to isolate tests..env files or CI secrets.--junitxml=report.xml for CI systems.conftest.py for easy sharing across tests.db_session, rollback_transaction.Where in this folder structure would you add a new fixture that starts a database transaction and rolls it back after each test?