| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent dbd784b commit 2ddd5e5
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,3 +9,6 @@ cover/ | |||
| 9 | 9 | /doc/_build | |
| 10 | 10 | nbproject | |
| 11 | 11 | *.sublime-workspace | |
| 12 | + | ||
| 13 | + /*egg-info | ||
| 14 | + /.tox | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,8 +13,9 @@ The object database implementation is optimized for handling large quantities of | |||
| 13 | 13 | - Tested with nose 1.3.0 | |
| 14 | 14 | * Mock by Michael Foord used for tests | |
| 15 | 15 | - Tested with 1.0.1 | |
| 16 | + * Coverage - used for tests coverage | ||
| 16 | 17 | ||
| 17 | - The list of dependencies are listed in /requirements.txt. The installer takes care of installing them for you though. | ||
| 18 | + The list of dependencies are listed in /requirements.txt and /test-requirements.txt. The installer takes care of installing them for you though. | ||
| 18 | 19 | ||
| 19 | 20 | ### INSTALL | |
| 20 | 21 | ||
@@ -32,6 +33,16 @@ A distribution package can be obtained for manual installation at: | |||
| 32 | 33 | ||
| 33 | 34 | http://pypi.python.org/pypi/GitPython | |
| 34 | 35 | ||
| 36 | + ### RUNNING TESTS | ||
| 37 | + | ||
| 38 | + The easiest way to run test is by using [tox](https://pypi.python.org/pypi/tox) a wrapper around virtualenv. It will take care of setting up environnements with the proper dependencies installed and execute test commands. To install it simply: | ||
| 39 | + | ||
| 40 | + pip install tox | ||
| 41 | + | ||
| 42 | + Then run: | ||
| 43 | + | ||
| 44 | + tox | ||
| 45 | + | ||
| 35 | 46 | ### DEVELOPMENT STATUS | |
| 36 | 47 | ||
| 37 | 48 | [](https://travis-ci.org/gitpython-developers/GitPython) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,4 @@ | |||
| 1 | + # Remember to update README.md | ||
| 2 | + coverage | ||
| 3 | + nose | ||
| 4 | + mock | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,13 @@ | |||
| 1 | + [tox] | ||
| 2 | + envlist = py26,py27 | ||
| 3 | + | ||
| 4 | + [testenv] | ||
| 5 | + commands = nosetests | ||
| 6 | + deps = -r{toxinidir}/requirements.txt | ||
| 7 | + -r{toxinidir}/test-requirements.txt | ||
| 8 | + | ||
| 9 | + [testenv:cover] | ||
| 10 | + commands = nosetests --with-coverage | ||
| 11 | + | ||
| 12 | + [testenv:venv] | ||
| 13 | + commands = {posargs} | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments