test: migrate from pytest in favor of ward
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
1296103c8f
commit
c7127e4a5d
3 changed files with 191 additions and 152 deletions
|
|
@ -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/**"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue