-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
47 lines (44 loc) · 1.43 KB
/
pytest.ini
File metadata and controls
47 lines (44 loc) · 1.43 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
[tool:pytest]
DJANGO_SETTINGS_MODULE = booking.tests.test_settings
python_files = tests.py test_*.py *_tests.py
python_classes = Test*
python_functions = test_*
addopts =
--verbose
--tb=short
--strict-markers
--cov=booking
--cov-report=term-missing:skip-covered
--cov-report=html:htmlcov
--cov-report=xml:coverage.xml
--cov-fail-under=60
--durations=10
--maxfail=20
--create-db
--disable-warnings
--color=yes
testpaths = booking/tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
models: marks tests as model tests
views: marks tests as view tests
forms: marks tests as form tests
services: marks tests as service tests
api: marks tests as API tests
auth: marks tests as authentication tests
billing: marks tests as billing tests
notifications: marks tests as notification tests
backup: marks tests as backup tests
maintenance: marks tests as maintenance tests
checkin: marks tests as check-in/check-out tests
external: marks tests that require external services
performance: marks tests as performance tests
security: marks tests as security tests
# Minimum version requirements
minversion = 6.0
# Test collection settings
norecursedirs = .git .tox node_modules venv .venv htmlcov
# Django-specific settings
django_find_project = false