Refactoring code for modular approach
This commit is contained in:
21
tests/pytest.ini
Normal file
21
tests/pytest.ini
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user