https://github.com/pdrum/drftest_example
Example of how to use https://github.com/pdrum/drftest
https://github.com/pdrum/drftest_example
django djangorestframework python test-driven-development testing
Last synced: 3 months ago
JSON representation
Example of how to use https://github.com/pdrum/drftest
- Host: GitHub
- URL: https://github.com/pdrum/drftest_example
- Owner: pdrum
- License: mit
- Created: 2018-11-17T22:33:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-15T15:59:46.000Z (over 6 years ago)
- Last Synced: 2025-02-05T02:38:34.983Z (5 months ago)
- Topics: django, djangorestframework, python, test-driven-development, testing
- Language: JavaScript
- Size: 700 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DRF TEST Example
---------------This project is a demonstration of how **DRF Test** can be used for simplifying writing tests
and documentation for APIs developed using django-rest-framework.**DRF Test** can be accessed using:
* Pypi: https://pypi.org/project/drftest/
* Github: https://github.com/pdrum/drftest
* Documentation demo: https://drftest.netlify.com/The project consists of a very simple django app which exposes APIs for creating
todo-items. Of course in order to make that work there are some models, serializers, etc
as well. The tests are in `todo/tests/test_view.py` and source for generated documentation
resides at `generated_docs/` directory. The resulting documentation is also hosted on
netlify and can be accessed using [this link](https://drftest.netlify.com/)