-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpytest.ini
More file actions
39 lines (33 loc) · 912 Bytes
/
pytest.ini
File metadata and controls
39 lines (33 loc) · 912 Bytes
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
[pytest]
# Pytest configuration file for jsweb
# Test paths
testpaths = Tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--strict-markers
--tb=short
--cov=jsweb
--cov-report=html
--cov-report=term-missing
--cov-report=xml
-ra
# Markers for categorizing tests
markers =
unit: Unit tests (mark with @pytest.mark.unit)
integration: Integration tests (mark with @pytest.mark.integration)
slow: Tests that take a long time to run (mark with @pytest.mark.slow)
asyncio: Async tests (mark with @pytest.mark.asyncio)
forms: Form validation tests
routing: Routing tests
database: Database tests
security: Security tests
# Asyncio configuration
asyncio_mode = auto
# Timeout for tests (seconds)
timeout = 300
# Minimum Python version
minversion = 7.0