1
0
Fork 0
mirror of synced 2024-11-05 16:48:57 -05:00
dotbot/test
2015-06-27 01:55:59 -04:00
..
.editorconfig Update editorconfig 2015-05-06 08:39:10 -04:00
.gitignore Add testing framework and tests 2015-05-05 20:11:46 -04:00
README.md Switched to unittest/tox tests for possible better python2/3 testing. anishathalye/dotbot#40 2015-06-27 01:55:59 -04:00
test_clean.py Switched to unittest/tox tests for possible better python2/3 testing. anishathalye/dotbot#40 2015-06-27 01:55:59 -04:00
test_config.py Switched to unittest/tox tests for possible better python2/3 testing. anishathalye/dotbot#40 2015-06-27 01:55:59 -04:00
utils.py Switched to unittest/tox tests for possible better python2/3 testing. anishathalye/dotbot#40 2015-06-27 01:55:59 -04:00

Testing

Testing is run against multiple Python using tox. It is recommended to use pyenv to manage your Python version.

Setup

  • Ensure git submodules are up to date
  • Install pyenv
  • Install Python versions
pyenv install 3.4.3
pyenv install 3.3.6
pyenv install 3.2.6
pyenv install 2.7.10
pyenv install 2.6.9
  • cd into the dotbot repository and set the local Python versions for pyenv
pyenv local 3.4.3 3.3.6 3.2.6 2.7.10 2.6.9
  • Install test requirements
pip install tox
pyenv rehash

Running the Test Suite

Once the environment has been setup, simply run the tox command in the dotbot directory