22 lines
624 B
INI
22 lines
624 B
INI
# tests/pytest.ini
|
|
[tool:pytest]
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
addopts =
|
|
-v
|
|
--tb=short
|
|
--strict-markers
|
|
--disable-warnings
|
|
--color=yes
|
|
markers =
|
|
slow: marks tests as slow (deselect with '-m "not slow"')
|
|
integration: marks tests as integration tests
|
|
unit: marks tests as unit tests
|
|
auth: marks tests related to authentication
|
|
products: marks tests related to products
|
|
stock: marks tests related to stock management
|
|
shops: marks tests related to shop management
|
|
admin: marks tests related to admin functionality
|