-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpytest.ini
More file actions
49 lines (44 loc) · 1.11 KB
/
Copy pathpytest.ini
File metadata and controls
49 lines (44 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Markers
markers =
unit: Unit tests
integration: Integration tests
database: Tests that require database
slow: Slow running tests
models: Database model tests
crud: CRUD operation tests
inventory: Inventory management tests
orders: Order management tests
cart: Shopping cart tests
referrals: Referral system tests
bitcoin: Bitcoin payment tests
validators: Validator tests
caching: Cache system tests
# Coverage settings
addopts =
-v
--strict-markers
--tb=short
--cov=bot
--cov-report=html
--cov-report=term-missing
--cov-report=xml
--cov-branch
# Logging
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Test discovery patterns
norecursedirs = .git .tox dist build *.egg venv
# Warning filters
filterwarnings =
ignore::ResourceWarning
ignore::RuntimeWarning
ignore::DeprecationWarning