mirror of
https://github.com/craigerl/aprsd.git
synced 2024-09-27 15:46:53 -04:00
Updated pytest output
This patch changes tox.ini to update the output for the unit test runs.
This commit is contained in:
parent
a5184fb98c
commit
e0e75149a9
17
tox.ini
17
tox.ini
@ -10,8 +10,11 @@ envlist = pre-commit,pep8,py{36,37,38,39}
|
|||||||
isolated_build = true
|
isolated_build = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv = _PYTEST_SETUP_SKIP_APRSD_DEP=1
|
description = Run unit-testing
|
||||||
coverage: _APRSD_TOX_CMD=coverage run -m pytest
|
setenv =
|
||||||
|
_PYTEST_SETUP_SKIP_APRSD_DEP=1
|
||||||
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
|
PYTHONUNBUFFERED=1
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
extras = tests
|
extras = tests
|
||||||
@ -20,18 +23,10 @@ deps = coverage: coverage
|
|||||||
-r{toxinidir}/dev-requirements.txt
|
-r{toxinidir}/dev-requirements.txt
|
||||||
pytestmain: git+https://github.com/pytest-dev/pytest.git@main
|
pytestmain: git+https://github.com/pytest-dev/pytest.git@main
|
||||||
commands =
|
commands =
|
||||||
{env:_APRSD_TOX_CMD:pytest} {posargs}
|
pytest -v --cov-report term-missing --cov=aprsd {posargs}
|
||||||
coverage: coverage report -m
|
coverage: coverage report -m
|
||||||
coverage: coverage xml
|
coverage: coverage xml
|
||||||
|
|
||||||
[pytest]
|
|
||||||
minversion=2.0
|
|
||||||
testpaths = tests
|
|
||||||
#--pyargs --doctest-modules --ignore=.tox
|
|
||||||
addopts=-r a
|
|
||||||
filterwarnings =
|
|
||||||
error
|
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
skip_install = true
|
skip_install = true
|
||||||
deps =
|
deps =
|
||||||
|
Loading…
Reference in New Issue
Block a user