mirror of
https://github.com/sprockets/sprockets.http.git
synced 2024-11-14 11:19:26 +00:00
Replace nose with coverage
This commit is contained in:
parent
5b38192836
commit
8c5633eb6c
4 changed files with 16 additions and 13 deletions
|
@ -1,3 +1,2 @@
|
|||
coverage==4.5.4
|
||||
nose==1.3.7
|
||||
tox==3.13.2
|
||||
coverage==6.3
|
||||
tox==3.24.5
|
||||
|
|
16
setup.cfg
16
setup.cfg
|
@ -9,12 +9,14 @@ warning-is-error = 1
|
|||
[flake8]
|
||||
exclude = env,build
|
||||
|
||||
[nosetests]
|
||||
cover-branches = 1
|
||||
cover-erase = 1
|
||||
cover-package = sprockets.http
|
||||
cover-html = 1
|
||||
cover-html-dir = build/coverage
|
||||
|
||||
[upload_docs]
|
||||
upload_dir = build/sphinx/html
|
||||
|
||||
[coverage:run]
|
||||
branch = True
|
||||
command_line = -m unittest discover tests --buffer --verbose
|
||||
|
||||
[coverage:report]
|
||||
show_missing = True
|
||||
include =
|
||||
sprockets/*
|
||||
|
|
1
setup.py
1
setup.py
|
@ -54,7 +54,6 @@ setuptools.setup(
|
|||
'Topic :: Internet :: WWW/HTTP',
|
||||
'Topic :: Software Development :: Libraries',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules'],
|
||||
test_suite='nose.collector',
|
||||
tests_require=read_requirements('testing.txt'),
|
||||
python_requires='>=3.5',
|
||||
zip_safe=True,
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py35,py36,py37,py38,py39,tornado,tornado50
|
||||
envlist = py37,py38,py39,tornado,tornado50
|
||||
indexserver =
|
||||
default = https://pypi.python.org/simple
|
||||
toxworkdir = build/tox
|
||||
|
@ -8,10 +8,13 @@ use_develop = True
|
|||
|
||||
[testenv]
|
||||
commands =
|
||||
nosetests -v
|
||||
coverage run
|
||||
|
||||
deps =
|
||||
.
|
||||
-rrequires/testing.txt
|
||||
extras =
|
||||
sentry
|
||||
|
||||
[testenv:tornado]
|
||||
commands =
|
||||
|
|
Loading…
Reference in a new issue