【 Lessons Learned in Software Testing 】#6 Run with the programmers.

--

跟著 programmers 走在一起

測試人員任務的關鍵部分,是支援、協助 Programmers。當測試人員於 Programmers 正在撰寫或剛完成相關功能時,即時給的測試反饋有助於提高 Programmers 效率。

當他們完成程式碼的提交→馬上進行測試,每次的修改變動→ 馬上針對變動進行測試。盡可能地建立最短、最快的 Feedback Loop 。

當 Programmers 正在排除剛發現的 Bugs 時,測試人員仍持續地尋找更多的潛在問題,最理想的情況是,Programmers 忙於測試人員所找出相關 Bug 問題 ,不要讓自己(測試人員)成為瓶頸點。

後記

筆者較不喜歡此篇章使用較為對立的角度去敘述 Programmer 與 Tester 的互動關係。畢竟這本書出版於2001年,有些觀念慢慢地演進中,例如: 測試現在可能並非為專職角色,每個在 Team 當中的人員,都可以去進行測試 …

Agile Testing (2009) 一書當中 Chapter 18. Coding And Testing — Collaborate with Programmers 所說的內容是筆者比較喜歡的風格,摘錄重點如下:

  • 撰寫和使用詳細地測試來驅動(drive)程式碼,可顯示 Tetser 和Programmer 如何密切合作。
  • 雙方工作在一起,可使團隊的能力提升、交付對的產品,另外提供更多的機會互相學習彼此的技能。
    - Programmers learn new ways of testing, and they’ll be better at testing their own code as they write it.
    - Testers learn more about the process of coding and how the right tests might make it easier.

Try using Pair Testing [ Exploratory Testing (ET) + Pair Programming(PP) ]

Try using “Show Me” communication skill:

Showing someone a problem and working through it together is much more effective than filing a bug in a defect tracking system and waiting for someone to have time to look at it ….

--

--