forked from RaphaelVRossi/techlog-solutions-aula
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
38 lines (33 loc) · 791 Bytes
/
pytest.ini
File metadata and controls
38 lines (33 loc) · 791 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
[pytest]
testpaths = test
python_files = test_*.py
python_classes = Test*
python_functions = test_*
asyncio_mode = auto
# Marcadores personalizados
markers =
unit: marca teste como teste unitário
integration: marca teste como teste de integração
repository: testes da camada de repositório
routes: testes da camada de rotas
# Opções de output
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
# Diretórios a ignorar
norecursedirs = .git .tox dist build *.egg __pycache__ venv tests
# Configuração de cobertura (se pytest-cov estiver instalado)
[coverage:run]
source = app
omit =
*/test/*
*/tests/*
*/__pycache__/*
*/venv/*
*/migrations/*
[coverage:report]
precision = 2
show_missing = True
skip_covered = False