Commit 90070b8a authored by Themis Zamani's avatar Themis Zamani
Browse files

Merge pull request #28 from makistsantekidis/tox-readme

[WIP] Readme and tests for core python lib
parents cf8d9fa1 8b5ae3c9
# Core python library
## Instalation
- Install required packages `pip install -r requirements.txt`
- Install package using `python setup.py install`
## Testing
To test the library we use `tox`. In order to run the tests:
- Make sure you have tox installed `pip install tox`
- Run `tox`
This will automatically create the testing environments required and run the tests
......@@ -5,7 +5,12 @@ envlist = py27
deps=
pytest
mock
coverage
-rrequirements.txt
commands=
pip install six
py.test
{envpython} setup.py install
pip install six pbr
coverage erase
coverage run {envbindir}/py.test
coverage report --include="*site-packages/fokia*" --omit=*test*
coverage xml --omit="*test*" --include="*site-packages/fokia*"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment