Skip to content

Commit

Permalink
Minor README correction and text coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
iffy committed Oct 30, 2013
1 parent 3a9b104 commit 7aa5384
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Expand Up @@ -4,4 +4,6 @@
ofxparse.egg-info/
build/
dist/
nbproject/
nbproject/
.coverage
htmlcov
11 changes: 9 additions & 2 deletions README
Expand Up @@ -44,15 +44,22 @@ Prerequisites::
(Ubuntu) sudo apt-get install python-beautifulsoup python-nose python-coverage-test-runner
(pip) pip install BeautifulSoup nose coverage

The `six` package is required for python 2.X

Tests::
Simply running the "nose" command should run the tests. If you don't have nose
installed, the following might also work:
Simply running the "nosetests" command should run the tests. If you don't have
nose installed, the following might also work:

python -m unittest tests.test_parse

Test Coverage Report::

coverage run -m unittest tests.test_parse

# text report
coverage report

# html report
coverage html
firefox htmlcov/index.html

Expand Down

0 comments on commit 7aa5384

Please sign in to comment.