Skip to content

Commit

Permalink
coverage update
Browse files Browse the repository at this point in the history
  • Loading branch information
seperman committed Aug 7, 2016
1 parent e6d95f8 commit 60f3d17
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ omit =
*/python?.?/*
*/site-packages/nose/*
*__init__*
numbers.py
decimal.py
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ sudo: false

install:
- pip install coveralls
- pip install nose

script:
- nosetests --with-coverage --cover-package=deepdiff
script: coverage run --source deepdiff setup.py test

after_success:
- coveralls
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
license='MIT',
packages=['deepdiff'],
zip_safe=False,
test_suite="tests",
long_description=long_description,
classifiers=[
"Intended Audience :: Developers",
Expand Down
10 changes: 8 additions & 2 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@

"""
To run the test, run this in the root of repo:
python -m unittest discover
python -m unittest discover
Or to run it with coverage:
coverage run --source deepdiff setup.py test
Or using Nose:
nosetests --with-coverage --cover-package=deepdiff
To run a specific test, run this from the root of repo:
python -m unittest tests.DeepDiffTestCase.test_list_of_sets_difference_ignore_order
python -m unittest tests.DeepDiffTestCase.test_list_of_sets_difference_ignore_order
"""
import unittest
import datetime
Expand Down

0 comments on commit 60f3d17

Please sign in to comment.