1
0
Fork 0
mirror of synced 2024-11-22 16:25:34 -05:00
dotbot/test
2015-06-28 12:09:07 -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 Reimplemented all old tests into new test framework. anishathalye/dotbot#40 2015-06-28 12:09:07 -04:00
test_config.py Reimplemented all old tests into new test framework. anishathalye/dotbot#40 2015-06-28 12:09:07 -04:00
test_link.py Reimplemented all old tests into new test framework. anishathalye/dotbot#40 2015-06-28 12:09:07 -04:00
test_shell.py Reimplemented all old tests into new test framework. anishathalye/dotbot#40 2015-06-28 12:09:07 -04:00
utils.py Reimplemented all old tests into new test framework. anishathalye/dotbot#40 2015-06-28 12:09:07 -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