6c0d5a4e63
- Flask-based mold cost calculation application - PostgreSQL database with SQLAlchemy ORM - Docker/Podman containerization - Comprehensive documentation in docs/ - Clean, organized codebase without obsolete files - Production-ready deployment configuration - Enhanced pytest configuration with coverage reporting - Master/Development branch structure
38 lines
785 B
INI
38 lines
785 B
INI
[pytest]
|
|
# Test discovery
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Test options
|
|
addopts =
|
|
-v
|
|
--cov=app
|
|
--cov-report=term-missing
|
|
--cov-report=html:htmlcov
|
|
--cov-report=xml
|
|
--strict-markers
|
|
--disable-warnings
|
|
--tb=short
|
|
|
|
# Test markers
|
|
markers =
|
|
unit: Unit tests
|
|
integration: Integration tests
|
|
slow: Slow running tests
|
|
deployment: Deployment related tests
|
|
calculation: Calculation logic tests
|
|
auth: Authentication tests
|
|
admin: Admin functionality tests
|
|
|
|
# Timeout settings
|
|
timeout = 30
|
|
|
|
# Warning filters
|
|
filterwarnings =
|
|
ignore::DeprecationWarning
|
|
ignore::UserWarning
|
|
ignore::PendingDeprecationWarning
|
|
ignore::FutureWarning
|
|
ignore::RuntimeWarning |