Homepage
Open in app
Sign in
Get started
Hannah Lin
Life in the U.S.
React / JS /TS
Unit & E2E Testing
Cyber security
Interview
前端工程師用 js 學演算法
Tagged in
Testing
Hannah Lin
Love coding ❤
More information
Followers
1K
Elsewhere
More, on Medium
Testing
Hannah Lin
in
Hannah Lin
Mar 20, 2023
為什麼最後我選擇用 React testing library 而放棄 Enzyme
React Testing Library
著重於測試使用體驗;
Enzyme 則
著重於測試 component…
Read more…
85
1 response
Hannah Lin
in
Hannah Lin
Dec 24, 2020
[Jest+Enzyme 4] 測試 React Container Components
測試 Container 算是蠻進階的 (所以我才擺到第五篇啊),我先假設你已經看國前四篇 Jest +…
Read more…
1
Hannah Lin
in
Hannah Lin
Jun 9, 2020
[Cypress 4] 運用在真實世界的 E2E — 以 2020 六角鐵人賽文章搜尋器為例
直接運用小範例來學測試
Read more…
143
Hannah Lin
in
Hannah Lin
May 23, 2020
[Cypress 3] 看官方文件學習 Variable and Aliases、Hooks、其他
著重在 Hooks 跟 Cypress Variable and…
Read more…
127
Hannah Lin
in
Hannah Lin
May 14, 2020
[Cypress 2] 看官方文件學習 Command & Assertion
Cypress 文件真的寫得很好,這篇就是筆記文件中的 Guides / Core…
Read more…
126
Hannah Lin
in
Hannah Lin
May 4, 2020
[Cypress 1] E2E Testing 初探
你我一定都會 E2E 測試,只是可能都是手動。以”登入” 這個功能來說我們開發完都會模擬使用者步驟
Read more…
572
3 responses
Hannah Lin
in
Hannah Lin
Apr 23, 2020
[Jest+Enzyme 3] 運用在真實世界中的 React/Redux Project — 實作篇
這篇測試會涵蓋一個小型 react-create-app + redux 需要的所有完整 unit…
Read more…
251
Hannah Lin
in
Hannah Lin
Mar 6, 2020
前端測試原來沒這麼單純
為什麼要寫測試?
坦白說在台灣時從來沒寫過測試,反正開發完丟給 QA 部門就對了。
前後端開發完 -> QA 部門測試 -> pass
^…
Read more…
271
1 response
Hannah Lin
in
Hannah Lin
Apr 1, 2020
[Jest+Enzyme 1] 從基本語法開始測試人生
這篇會涵蓋到 Jest/ Enzyme 常用語法 並以計數器範例做解釋
Read more…
70
Hannah Lin
in
Hannah Lin
Apr 19, 2020
[Jest+Enzyme 2] 運用在真實世界中的 React/Redux Project — 預備篇
擷取到美國後學習的精華
Read more…
65