1
0
Fork 0
mirror of synced 2024-11-17 22:15:35 -05:00
dotbot/test/README.md

42 lines
689 B
Markdown
Raw Normal View History

2015-05-05 19:58:25 -04:00
Testing
=======
Testing is run against multiple Python using ``tox``. It is recommended to use ``pyenv`` to manage
your Python version.
2015-05-05 19:58:25 -04:00
Setup
=====
2015-05-05 19:58:25 -04:00
* Ensure git submodules are up to date
* Install pyenv
* Install Python versions
2015-05-05 19:58:25 -04:00
```
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
2015-05-05 19:58:25 -04:00