Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
See what's new at GitLab
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
tanbama
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
freetux
tanbama
Commits
b67a7bf1
Commit
b67a7bf1
authored
Apr 25, 2018
by
freetux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make reademe
parent
35d31bd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
19 deletions
+5
-19
README.md
README.md
+5
-19
No files found.
README.md
View file @
b67a7bf1
##
DRF-TDD-Example
##
Tanbama
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)
####
Todo
s
####
weight
s
*
**/api/
todos/**
(Todo
create and list endpoint)
*
**/api/
todos/{todo-id}/**
(Todo
retrieve, update and destroy endpoint)
*
**/api/
weights/**
(weights and height
create and list endpoint)
*
**/api/
weights/{weight-id}/**
(weight and height
retrieve, update and destroy endpoint)
### Install
### Install
pip install -r requirements.txt
### Usage
python manage.py test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment