Links for fulltext
(May Require Subscription)
- Publisher Website: 10.3724/SP.J.1001.2009.00578
- Scopus: eid_2-s2.0-70449725267
- Find via
Supplementary
-
Citations:
- Scopus: 0
- Appears in Collections:
Article: Experimental study to compare the use of metamorphic testing and assertion checking
Title | Experimental study to compare the use of metamorphic testing and assertion checking 蛻變測試和斷言檢查的比較與實驗研究 |
---|---|
Authors | |
Keywords | Assertion checking (斷言檢查) Controlled experiment (控制實驗) Empirical evaluation (實驗研究) Metamorphic testing (蛻變測試) Test oracle (測試預言) |
Issue Date | 2009 |
Publisher | Chinese Academy of Sciences, Institute of Software (中國科學院軟件硏究所). The Journal's web site is located at http://www.jos.org.cn |
Citation | Journal Of Software, 2009, v. 20 n. 10, p. 2637-2654 How to Cite? 軟件學報, 2009, v. 20 n. 10, p. 2637-2654 How to Cite? |
Abstract | A test oracle in software testing is a mechanism for checking whether the program under test behaves correctly for any execution. In some practical situations, oracles can be unavailable or too expensive to apply. Metamorphic testing (MT) was proposed to alleviate this problem so that software can be delivered under the time-to-market pressure. However, the effectiveness of MT has not been studied adequately. This paper conducts a controlled experiment to investigate the cost effectiveness of using MT. The fault detection capability and time cost of MT are compared with the standard assertion checking method. The results show that MT has potentials to detect more faults than the assertion checking method. The experimental results also show a trade-off between the two testing methods: MT can be less efficient but more effective, and can be defined at a coarser level of granularity than the assertion checking method. © by Institute of Software, the Chinese Academy of Sciences. All rights reserved. 在軟件測試中,測試預言是一種用于檢查程序在測試中是否正常運行的機制.然而在某些實際情況下,還無法制定測試預言或者難以有效地應用測試預言.針對此類測試預言問題,蛻變測試于近年應運而生,但蛻變測試的效率問題還沒有被充分地加以研究.作者用控制實驗的方法研究了使用蛻變測試的成本及效率,進而將蛻變測試和常用的斷言檢查兩種方法的錯誤檢測率和時間成本進行了比較和分析.實驗結果表明,相比于斷言檢查方法,蛻變測試具有檢測到更多錯誤的潛力.通過分析蛻變測試的效率和性能,與斷言測試相比,蛻變測試的錯誤檢測率更高效而效率有待提高,可適用于較為粗粒度的測試需求. |
Description | A preliminary version of this paper was presented at the 3rd
International Workshop on Software Quality Assurance (SOQUA 2006) in conjunction with the 14th ACM SIGSOFT Symposium on
Foundations of Software Engineering (SIGSOFT 2006/FSE-14) |
Sponsorship | This research is supported in part by grants of the Research Grants Council of Hong Kong (project numbers 111107 and 717308) and the Australian Research Council (project number DP0984760). |
Persistent Identifier | http://hdl.handle.net/10722/55461 |
ISSN | 2023 SCImago Journal Rankings: 0.305 |
References |
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Zhang, ZY | en_HK |
dc.contributor.author | Chan, WK | en_HK |
dc.contributor.author | Tse, TH | en_HK |
dc.contributor.author | Hu, PF | en_HK |
dc.date.accessioned | 2009-08-10T04:38:08Z | - |
dc.date.available | 2009-08-10T04:38:08Z | - |
dc.date.issued | 2009 | en_HK |
dc.identifier.citation | Journal Of Software, 2009, v. 20 n. 10, p. 2637-2654 | en_HK |
dc.identifier.citation | 軟件學報, 2009, v. 20 n. 10, p. 2637-2654 | - |
dc.identifier.issn | 1000-9825 | en_HK |
dc.identifier.uri | http://hdl.handle.net/10722/55461 | - |
dc.description | A preliminary version of this paper was presented at the 3rd International Workshop on Software Quality Assurance (SOQUA 2006) in conjunction with the 14th ACM SIGSOFT Symposium on Foundations of Software Engineering (SIGSOFT 2006/FSE-14) | en |
dc.description.abstract | A test oracle in software testing is a mechanism for checking whether the program under test behaves correctly for any execution. In some practical situations, oracles can be unavailable or too expensive to apply. Metamorphic testing (MT) was proposed to alleviate this problem so that software can be delivered under the time-to-market pressure. However, the effectiveness of MT has not been studied adequately. This paper conducts a controlled experiment to investigate the cost effectiveness of using MT. The fault detection capability and time cost of MT are compared with the standard assertion checking method. The results show that MT has potentials to detect more faults than the assertion checking method. The experimental results also show a trade-off between the two testing methods: MT can be less efficient but more effective, and can be defined at a coarser level of granularity than the assertion checking method. © by Institute of Software, the Chinese Academy of Sciences. All rights reserved. | en_HK |
dc.description.abstract | 在軟件測試中,測試預言是一種用于檢查程序在測試中是否正常運行的機制.然而在某些實際情況下,還無法制定測試預言或者難以有效地應用測試預言.針對此類測試預言問題,蛻變測試于近年應運而生,但蛻變測試的效率問題還沒有被充分地加以研究.作者用控制實驗的方法研究了使用蛻變測試的成本及效率,進而將蛻變測試和常用的斷言檢查兩種方法的錯誤檢測率和時間成本進行了比較和分析.實驗結果表明,相比于斷言檢查方法,蛻變測試具有檢測到更多錯誤的潛力.通過分析蛻變測試的效率和性能,與斷言測試相比,蛻變測試的錯誤檢測率更高效而效率有待提高,可適用于較為粗粒度的測試需求. | - |
dc.description.sponsorship | This research is supported in part by grants of the Research Grants Council of Hong Kong (project numbers 111107 and 717308) and the Australian Research Council (project number DP0984760). | en |
dc.language.iso | eng | en |
dc.publisher | Chinese Academy of Sciences, Institute of Software (中國科學院軟件硏究所). The Journal's web site is located at http://www.jos.org.cn | en_HK |
dc.relation.ispartof | Journal of Software | en_HK |
dc.relation.ispartof | 軟件學報 | - |
dc.rights | Copyright Academy Publisher. 2009 | - |
dc.subject | Assertion checking (斷言檢查) | en_HK |
dc.subject | Controlled experiment (控制實驗) | en_HK |
dc.subject | Empirical evaluation (實驗研究) | en_HK |
dc.subject | Metamorphic testing (蛻變測試) | en_HK |
dc.subject | Test oracle (測試預言) | en_HK |
dc.title | Experimental study to compare the use of metamorphic testing and assertion checking | en_HK |
dc.title | 蛻變測試和斷言檢查的比較與實驗研究 | - |
dc.type | Article | en_HK |
dc.identifier.email | Tse, TH: thtse@cs.hku.hk | en_HK |
dc.identifier.authority | Tse, TH=rp00546 | en_HK |
dc.description.nature | postprint | en_HK |
dc.identifier.doi | 10.3724/SP.J.1001.2009.00578 | en_HK |
dc.identifier.scopus | eid_2-s2.0-70449725267 | en_HK |
dc.identifier.hkuros | 167678 | en |
dc.relation.references | http://www.scopus.com/mlt/select.url?eid=2-s2.0-70449725267&selection=ref&src=s&origin=recordpage | en_HK |
dc.identifier.volume | 20 | en_HK |
dc.identifier.issue | 10 | en_HK |
dc.identifier.spage | 2637 | en_HK |
dc.identifier.epage | 2654 | en_HK |
dc.publisher.place | Beijing (北京) | en_HK |
dc.identifier.scopusauthorid | Zhang, ZY=10639502200 | en_HK |
dc.identifier.scopusauthorid | Chan, WK=23967779900 | en_HK |
dc.identifier.scopusauthorid | Tse, TH=7005496974 | en_HK |
dc.identifier.scopusauthorid | Hu, PF=7201989692 | en_HK |
dc.identifier.issnl | 1000-9825 | - |