dependency injection

實際上手體驗 Golang DI Framework 之 Uber Dig

category: random     4 minute read     Posted on:

Uber/dig uber/dig 是一套基於 reflection 的 Dependency Injection Framework 意思是我們不需要手動指定依賴,而是透過 reflection 來幫我們自動找出依賴,依靠框架管理

DevOps - 整合測試 Integration Test

category: devops     5 minute read     Posted on:

Introduction to Integration Test 光是擁有 unit test,其實是不夠的 因為 unit test 測試的範圍只有 function 本身 跨 function 之間的整合,是沒有涵蓋到的

DevOps - 單元測試 Unit Test

category: devops     6 minute read     Posted on:

Introduction to Testing 在軟體開發的過程當中,QA 測試其實是很重要的一個環節 有了 QA 驗證,可以確保程式不會因為不當的輸入而產生不如預期的結果