使用極致編程在嵌入式系統中,面臨的不只是客戶與軟體工程師之間的團隊合作問題,而開放原始碼的移植也挑戰極致編程先寫測試程式再寫程式碼的困擾。 為解決上述問題,本論文提出讓各專家使用的分享式虛擬化開發平台及用測試驅動開發方法來移植開放原始碼。 預期的優點:(1)分享式虛擬化開發平台讓嵌入式極致編程(Embedded XP)的程式碼共有(Collective code Ownership)更直接,也更容易分享專業知識(Domain Knowledge)。(2)利用開放原始碼解決了我們對不熟悉領域的技術問題,降低進入技術門檻和先期投資成本及時間,所以開放原始碼被極致編程視為Spike Solution(突破方案)。(3)TDD-OSS Porting Methodology縮短週期計畫(Iteration Planning),讓開放原始碼的導入符合極致編程的TDD精神,也承襲了TDD所帶來快速開發高品質軟體的好處。 Using extreme programming (XP) in embedded systems faces many challenges. In addition to difficult cooperation between customers and software engineers, the porting of open source software (OSS) challenges the XP principle of “write unit test first”, as there is no unit tests. To solve this problem, this thesis proposes: 1) a shared, virtual development platform for the diversified expert to communicate with each other, and 2) a test-driven development (TDD)-based methodology for porting OSS in embedded systems. The expected benefits are: 1) the shared, virtual development platform facilitates the XP practice of collective code ownership. It also assists domain knowledge sharing. 2) Using open source software lowers the technical barrier of porting and thus cut down the cost and time for it. The OSS can thus be regarded as spike solution of XP. 3) This TDD OSS methodology inherits extreme programming that shortens iteration and that promises to bring about rapid development of high quality embedded systems.