dchackett / taxi

Lightweight portable workflow management system for MCMC applications
MIT License
3 stars 1 forks source link

Testing for Python 2.6.6 compatibility #8

Open dchackett opened 7 years ago

dchackett commented 7 years ago

By design, all of the run-node components of taxi (i.e., runner scripts and taxi.py) require only Python 2.6.6. How can we write tests to check that this requirement is satisfied?

etneil commented 7 years ago

I know this answer to this one offhand, although I've never used it: there's a testing package called "tox" that allows for testing against specific configurations of Python.

https://tox.readthedocs.io/en/latest/

There are lots of other test-related to-dos, and I think Tox is orthogonal to the choice of testing framework etc., but in light of this requirement I'll try to set up Tox from the start with our tests.