项目
在 GitHub 查看
erdem/DRF-TDD-example
关于
An example Django REST framework project for test driven development.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文DRF-TDD-Example
An example Django REST framework project for test driven development.
Test Case Scenarios
- Test to verify registration with invalid password.
- Test to verify registration with already exists username.
- Test to verify registration with valid datas.
- Tested API authentication endpoint validations.
- Tested authenticated user authorization.
- Create a todo with API.
- Update a todo with API.
- Update a todo with API.
- Delete a todo with API.
- Get todo list for a user.
API Endpoints
Users
- /api/users/ (User registration endpoint)
- /api/users/login/ (User login endpoint)
- /api/users/logout/ (User logout endpoint)
Todos
- /api/todos/ (Todo create and list endpoint)
- /api/todos/{todo-id}/ (Todo retrieve, update and destroy endpoint)
Install
pip install -r requirements.txt
Usage
python manage.py test
探索相关项目
加载中…