隨著數位化時代的來臨,軟體的複雜度也相對的日益複雜。為了確保軟體的可靠度,在軟體正式發行前,需進行相關機能的軟體測試。傳統的軟體測試方法通常是依照過去經驗以及使用者角度來進行測試項目的撰寫,這種方式存在著2個問題:(1)因為測試項目的撰寫無標準的作成步驟,故項目的選擇需花費較長時間;(2)以使用者角度與經驗來撰寫測試項目,通常會侷限於經常使用的機能而造成低測試涵蓋率。 本論文利用一種穩健設計(Robust Design)方法來進行數位電視系統的測試項目撰寫,從系統機能角度作分析,尋找各機能的控制因子與水準。再利用數位電視系統特性作控制因子與水準的最佳化,最後使用田口品質工程中的直交表形成測試項目。經由實驗證明,本論文提出的方法除了可以縮短測試項目的撰寫時間與提高測試的涵蓋率之外,也建立標準的測試項目的分析撰寫方法。
With the coming of the digital era, software becomes more and more complex. In order to guarantee the software reliability, software should be tested throughout all before released it to customers. The traditional software testing method generates test items based on the past experiences of testers and developers. However, this traditional approach has two problems. First, the steps of generating test items are not standardized. Thus, it takes much time for generating test items. Secondly, testers and developers may focus only on testing the most frequently used features of the software due to their past test experiences. Thus, this will cause lower coverage rate for testing other features of the software. This thesis uses a robust design approach to generate the test items for the digital TV software. First, analyze each function of the digital TV to get its control factors and levels. Next, optimize the control factors and levels based on the digital TV characteristics. Then, select the appropriate orthogonal array established by Taguchi in accordance with the control factors and levels. Finally, automatically generate test items according to the selected orthogonal array. Experiment results show that the proposed approach can reduce the lead time in generating test items and increase the coverage rate for testing software. Furthermore, the standard process of generating test items is established.