test: migrate from pytest in favor of ward
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
cătălin 2022-08-27 21:51:02 +02:00
commit c7127e4a5d
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
3 changed files with 191 additions and 152 deletions

View file

@ -16,6 +16,7 @@ sh = "^1.14.3"
pydantic = "^1.9.1"
PyYAML = "^6.0"
seedir = "^0.3.1"
setuptools = "^65.3.0"
[tool.poetry.group.linters.dependencies]
@ -23,15 +24,17 @@ black = "^22.6.0"
[tool.poetry.group.test.dependencies]
pytest-mock = "^3.8.2"
pytest-cov = "^3.0.0"
ward = "^0.66.1b0"
ward-coverage = "^0.1.5"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = ['--maxfail=1', '-rf', "--cov=halig", '--junitxml=report.xml']
[tool.ward]
path = ["tests"]
fail-limit = 1
hook_module = ["ward_coverage"]
[tool.coverage.run]
[tool.ward.plugins.coverage]
omit = [".venv/**"]