Enable testing with tox
rafguns opened this issue · 3 comments
rafguns commented
Something like waf may do the trick. I'm thinking of e.g.:
# Create a tarball
git archive --format=tar.gz --prefix=linkpred/ HEAD > linkpred.tar.gz
# Create an installer
pyinstaller linkpred.spec
# Do all tests and count coverage
nosetests --with-doctest --with-coverage --cover-package=linkpred
rafguns commented
Alternative: do this in setup.py. This guide shows a way to do testing through python setup.py test
.
rafguns commented
Testing as described in #2 (comment) is now deprecated in favour of tox.