Updated docs to reflect running tests from within python.
This commit is contained in:
parent
6eafc2ad3d
commit
08eec3d82b
2 changed files with 15 additions and 1 deletions
|
|
@ -96,7 +96,13 @@ Not currently supported.
|
||||||
Testing
|
Testing
|
||||||
'''''''
|
'''''''
|
||||||
|
|
||||||
If you wish to run the tests (strongly suggested :-), try the following
|
If you wish to run the tests (strongly suggested :-), you can either run them
|
||||||
|
from within python as follows ... ::
|
||||||
|
|
||||||
|
>>> import glymur
|
||||||
|
>>> glymur.runtests()
|
||||||
|
|
||||||
|
or from the unix command line. ::
|
||||||
|
|
||||||
$ cd /to/where/you/unpacked/glymur
|
$ cd /to/where/you/unpacked/glymur
|
||||||
$ python -m unittest discover
|
$ python -m unittest discover
|
||||||
|
|
|
||||||
|
|
@ -70,3 +70,11 @@ to take advantage of it. For example, if you install with pip's
|
||||||
|
|
||||||
$ export PYTHONPATH=$HOME/.local/lib/python3.3/site-packages
|
$ export PYTHONPATH=$HOME/.local/lib/python3.3/site-packages
|
||||||
$ export PATH=$HOME/.local/bin:$PATH
|
$ export PATH=$HOME/.local/bin:$PATH
|
||||||
|
|
||||||
|
You can run the tests from within python as follows::
|
||||||
|
|
||||||
|
>>> import glymur
|
||||||
|
>>> glymur.runtests()
|
||||||
|
|
||||||
|
Many tests are currently skipped; the important thing is whether or not any
|
||||||
|
tests fail.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue