Running the unit tests will probably only be of interest to other developers. There is a test module that tests interoperability with the JavaScript library (pypond/tests/interop_test.py
) that will require some additional setup.
node
executable somewhere in the path. If it is not found, those tests will fail.npm install
followed by npm run build
at the root level of the pond source. (Running npm run build
should be a formality, but is included just in case the pond/lib
directory was not properly regenerated from pond/src
)pip install -r dev-requirements.txt
and then run nosetests
from either the source root or test directory (pypond/
or pypond/tests/
). The pip
command will also install pypond in “develop” mode.That particular test sends the data on a round trip by:
node
as an argAll of the other tests are just standard-issue Python unit tests.
The tests can also be referred to as a fairly complete set of examples as well.