-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
57 lines (47 loc) · 1.28 KB
/
pytest.ini
File metadata and controls
57 lines (47 loc) · 1.28 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
50
51
52
53
54
55
56
57
[pytest]
# Pytest configuration file
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Directories to search for tests
testpaths = tests
# Command line options
addopts =
-v
--tb=short
--strict-markers
-ra
# Markers for test categorization
markers =
ui: UI behavior tests
ai_response: AI response validation tests
security: Security and injection tests
smoke: Smoke tests (quick validation)
regression: Regression tests
slow: Slow running tests
english: Tests for English language
arabic: Tests for Arabic language
mobile: Mobile-specific tests
desktop: Desktop-specific tests
xfail: Tests expected to fail
stealth: Tests that use stealth mode to bypass CAPTCHA
recaptcha: Tests affected by reCAPTCHA
# Logging
log_cli = true
log_cli_level = INFO
log_cli_format = %(levelname)-8s | %(message)s
log_file = reports/logs/pytest.log
log_file_level = DEBUG
log_file_format = %(asctime)s | %(levelname)-8s | %(name)s | %(message)s
log_file_date_format = %Y-%m-%d %H:%M:%S
# Timeout
timeout = 300
# Warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Console output options
console_output_style = progress
# Minimum Python version
minversion = 3.8