Merge pull request #3789 from munkm/pytest

modify contributing instructions to use pytest for testing
Min RK 7 years ago committed by GitHub
commit 5711075f0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,11 +136,11 @@ Install dependencies::
To run the Python tests, use::
nosetests
pytest
If you want coverage statistics as well, you can run::
nosetests --with-coverage --cover-package=notebook notebook
py.test --cov notebook -v --pyargs notebook
JavaScript Tests
^^^^^^^^^^^^^^^^

@ -117,7 +117,7 @@ for more information.
':python_version == "2.7"': ['ipaddress'],
'test:python_version == "2.7"': ['mock'],
'test': ['nose', 'coverage', 'requests', 'nose_warnings_filters',
'nbval', 'nose-exclude', 'selenium'],
'nbval', 'nose-exclude', 'selenium', 'pytest', 'pytest-cov'],
'test:sys_platform == "win32"': ['nose-exclude'],
},
python_requires = '>=3.4',

Loading…
Cancel
Save