Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
okeanos-LoD
Commits
90070b8a
Commit
90070b8a
authored
Jul 14, 2015
by
Themis Zamani
Browse files
Merge pull request #28 from makistsantekidis/tox-readme
[WIP] Readme and tests for core python lib
parents
cf8d9fa1
8b5ae3c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/README.md
0 → 100644
View file @
90070b8a
# 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
core/tox.ini
View file @
90070b8a
...
...
@@ -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*"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment