refactor(tests): reorganize tests per module with shared root conftest
Move 42 single-module test files into app/modules/*/tests/ directories while keeping 40 cross-module and infrastructure tests central in tests/. Hub fixtures (engine, db, client, cleanup) moved to root conftest.py so both tests/ and module tests inherit them. Update pyproject.toml testpaths and Makefile TEST_PATHS to discover all test locations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
0
app/modules/orders/tests/__init__.py
Normal file
0
app/modules/orders/tests/__init__.py
Normal file
3
app/modules/orders/tests/conftest.py
Normal file
3
app/modules/orders/tests/conftest.py
Normal file
@@ -0,0 +1,3 @@
|
||||
# app/modules/orders/tests/conftest.py
|
||||
# Module-specific fixtures for orders tests.
|
||||
# Core fixtures (db, client, etc.) are inherited from the root conftest.py.
|
||||
0
app/modules/orders/tests/unit/__init__.py
Normal file
0
app/modules/orders/tests/unit/__init__.py
Normal file
Reference in New Issue
Block a user