Skip to content

Commit

Permalink
tests: Use pytest instead of nose
Browse files Browse the repository at this point in the history
  • Loading branch information
scorphus committed Jan 31, 2022
1 parent 716bf70 commit 80de353
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ isort:
test: unit integration

unit:
@coverage run --branch `which nosetests` -vvvv --with-yanc -s tests/unit/
@coverage report -m
@-pytest -sv --cov=opencv_engine tests/unit/
@-coverage report -m

coverage-html: unit
@coverage html -d cover

integration:
@`which nosetests` -vvvv --with-yanc -s tests/integration/
@pytest -sv tests/integration/

setup:
@pip install -U -e .\[tests\]
Expand Down
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@
"black",
"colorama",
"colour",
"coverage",
"coveralls",
"ipdb",
"isort",
"mock",
"nose",
"numpy",
"preggy",
"yanc",
"pytest",
"pytest-cov",
]

setup(
Expand Down

0 comments on commit 80de353

Please sign in to comment.