👍🎉 First off, thanks for taking the time to contribute! 🎉👍
You can find us on IRC at channel #geokrety.
WARNING NEVER LAUNCH THE TESTS ON A PRODUCTION SERVER, IT WILL DESTROY ALL YOUR DATA!
Before submitting your pull request, it is recommended to launch the Unit Tests and documentation validation.
nosetests tests/unittests/ --verbose
nosetests --verbose --nologcapture tests/unittests/api/test_geokrety_create.py
nosetests --verbose --nologcapture tests/unittests/api/test_geokrety_create.py:TestGeokretCreate.test_owner_enforced_to_current_user
nosetests --verbose --with-watcher --filetype .py --nologcapture tests/
Alternatively, you can use inotify
. You need to install inotify-tools
(On Ubuntu: sudo apt install inotify-tools
)
inotifywait -r -m -e close_write --exclude '\.pyc$' . | while read path _ file; do nosetests tests/unittests/api/test_geokret.py --verbose; done
Please do your best to reach/stay at 100%!
nosetests --verbose --nologcapture --with-coverage --cover-package=app --cover-inclusive tests/unittests/
For easier management, we have split the Api Blueprint in different files. You can combine them to the root of your repository checkout and as we configured git to ignore this file it won't be added to the repository. If you prefer to recombine the whole file somewhere else, please ensure to not commit the file to the repository.
cat docs/*.apib > apiary.apib && dredd
- Please rebase your Pull Requests uppon master.
- Avoid "fixup" commits.