Commit 901deaa2f7558ae8b2c8ae09fdaf7062c082954a
Exists in
master
and in
39 other branches
Merge branch 'coveralls'
Showing
7 changed files
with
17 additions
and
13 deletions
Show diff stats
.travis.yml
| ... | ... | @@ -7,7 +7,7 @@ env: |
| 7 | 7 | - DJANGO_VERSION=1.7.3 |
| 8 | 8 | |
| 9 | 9 | install: |
| 10 | - - pip install -r requirements_test.txt | |
| 10 | + - pip install -r requirements_dev.txt | |
| 11 | 11 | - pip install django==${DJANGO_VERSION} |
| 12 | 12 | - pip install -e . |
| 13 | 13 | - colab-init-config > settings.yaml |
| ... | ... | @@ -15,11 +15,11 @@ install: |
| 15 | 15 | - sudo cp settings.yaml /etc/colab/ |
| 16 | 16 | - psql -c "CREATE USER colab WITH PASSWORD 'colab' CREATEDB;" -U postgres |
| 17 | 17 | |
| 18 | -#before_script: | |
| 19 | -# flake8 revproxy | |
| 18 | +before_script: | |
| 19 | + flake8 colab | |
| 20 | 20 | |
| 21 | 21 | script: |
| 22 | 22 | ./runtests.py |
| 23 | 23 | |
| 24 | -#after_success: | |
| 25 | -# coveralls | |
| 24 | +after_success: | |
| 25 | + coveralls | ... | ... |
README.rst
| ... | ... | @@ -76,16 +76,15 @@ desired location in environment variable **COLAB_SETTINGS**. |
| 76 | 76 | About test |
| 77 | 77 | ========== |
| 78 | 78 | |
| 79 | -How to write a tests. | |
| 79 | +How to write a test | |
| 80 | 80 | -------------------- |
| 81 | 81 | Inside of each folder on /vagrant/colab/<folder> you can create a folder called |
| 82 | 82 | "tests", and inside of it implements the code for test each file. |
| 83 | 83 | |
| 84 | -How to run a test | |
| 85 | ------------------ | |
| 84 | +How to run the tests | |
| 85 | +-------------------- | |
| 86 | 86 | |
| 87 | 87 | Follow the steps below: |
| 88 | 88 | |
| 89 | 89 | * Go to vagrant/colab/ |
| 90 | -* Install the test dependencies with `pip install -r requirements_test.txt` | |
| 91 | 90 | * run: ./runtests.sh | ... | ... |
colab/tests/settings.py
requirements_test.txt
vagrant/provision.sh