Workshop: 利用TDD來發大財吧~ - DinDin, Steve Sun
所有議程請見議程表。
歡迎來到 https://hackmd.io/@iPlayground/2019 共筆
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
點擊本頁上方的 開始用 Markdown 一起寫筆記!
手機版請點選上方 按鈕展開議程列表。
Slide
Sample Code
https://github.com/peter6601/TDDFaDaTsaiDemo
共筆開始
write test -> TEST FAILS -> write code -> test passes -> refactor -> back to write test.
TDD思維
需求 -> 功能 -> 可測試文件
UI TEST
Intergration Test
Unit Test Unit Test
Unit Test 重點
- 快狠準
- mock Network requests
- prevent breaking changes
- … and lot to be told