Skip to content

Commit

Permalink
using pytest for test discovery and improved feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
vrmpx committed Apr 3, 2018
1 parent a5f5f17 commit 161a600
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[aliases]
test=pytest

[tool:pytest]
addopts = --verbose
testpaths = tests
python_files = tests/*/*.py
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,5 +317,7 @@ def run_tests(self):
packages = packages,
package_data = {},
install_requires = ['enum34;python_version<"3.4"', 'numpy'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
zip_safe = False,
test_suite='tests')

0 comments on commit 161a600

Please sign in to comment.