hyeseong-dev.log
로그인
hyeseong-dev.log
로그인
[drf | tdd] Build a Backend REST API - 3
Hyeseong
·
2021년 2월 22일
팔로우
0
TDD
drf
udemy
0
Build a Backend REST API with Python & Django - Advanced
목록 보기
3/51
Unit Tests
Code to Check your works
Isolate specific code to test
Classes
Functions
API Endpoints
Takes practice
Test stages
Setup
Create sample database objects
Decide on inputs
Execution
Call the code
Assertions
Confirm expected output
Why write tests?
Expected in most professional dev teams
Makes it easier to change code
Increased confidence
Saves time
Better quality code
Test Driven Development
Traditional development
Implement feature -> Write tests
(TDD)Test driven developemnt
Write tests -> Implement feature
Why use TDD?
Increase test coverage
Ensure tests work
Encourage good quality code
Staty focused
Hyeseong
어제보다 오늘 그리고 오늘 보다 내일...
팔로우
이전 포스트
[drf | tech] Build a Backend REST API - 2
다음 포스트
[drf | docker] Build a Backend REST API - 4
0개의 댓글
댓글 작성