Skip to content

Commit

Permalink
Switch to py.test
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Jan 8, 2019
1 parent b49a2f1 commit e17da7a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ environment:

install:
# We need wheel installed to build wheels
- cmd: set PATH=%PATH%;%PYTHON%\Scripts
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install -r requirements.txt"

Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pytest
pytest-runner
enum34
construct>=2.8
mako
Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[aliases]
test=pytest
[tool:pytest]
addopts = --verbose
testpaths = pyxcp/tests
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def packagez(base):

doc_requires = ['numpydoc', 'sphinxcontrib-napoleon'],
package_dir = {'tests': 'pyxcp/tests'},
tests_require=["pytest", "pytest-runner"],
test_suite = "pyxcp.tests",
license='GPLv2',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down

0 comments on commit e17da7a

Please sign in to comment.