品質管理大師愛德華戴明說:
 
Cease dependency on mass inspection to achieve quality. Improve the process and build quality into the product in the first place.
不要靠檢驗去確保產品品質, 而是藉由改善開發流程, 在第一時間就內建品質到產品中
 
image
 
這對 DevOps 來說是代表什麼意思呢?
 
測試或是品質確認不該是後期才進行
他們應該是在整個開發流程中都要做的 (如下圖所示)
所以測試不再只是一個階段, 而是緊密融合到開發流程中.

 

例如:
利用單元測試, 在第一時間點就找出問題, 並且是在 check-in 之前就要做
 
另外, 測試應該是多層次的, 像是單元測試, smoke test, 驗收測試, UAT, 用不同網子來讓 bug 不會漏掉. 單一類型的測試, 只能抓到單一類型的 bug
 
image
 

 
 
料來源: Jez Humble | Continuous Delivery
arrow
arrow
    文章標籤
    continuous delivery
    全站熱搜

    kojenchieh 發表在 痞客邦 留言(0) 人氣()