Mutation testing in UTP

Author:

Aichernig Bernhard K.12,Jifeng He3

Affiliation:

1. Institute for Software Technology, Graz University of Technology, Graz, Austria

2. International Institute for Software Technology, United Nations University, Macao, S.A.R. China

3. East China Normal University, Shanghai, China

Abstract

Abstract This paper presents a theory of testing that integrates into Hoare and He’s Unifying Theory of Programming (UTP). We give test cases a denotational semantics by viewing them as specification predicates. This reformulation of test cases allows for relating test cases via refinement to specifications and programs. Having such a refinement order that integrates test cases, we develop a testing theory for fault-based testing. Fault-based testing uses test data designed to demonstrate the absence of a set of pre-specified faults. A well-known fault-based technique is mutation testing. In mutation testing, first, faults are injected into a program by altering (mutating) its source code. Then, test cases that can detect these errors are designed. The assumption is that other faults will be caught, too. In this paper, we apply the mutation technique to both, specifications and programs. Using our theory of testing, two new test case generation laws for detecting injected (anticipated) faults are presented: one is based on the semantic level of UTP design predicates, the other on the algebraic properties of a small programming language.

Publisher

Association for Computing Machinery (ACM)

Subject

Theoretical Computer Science,Software

Reference43 articles.

1. The B-Book

2. Aichernig BK Delgado CC (2006) From faults via test purposes to test cases: on the fault-based testing of concurrent systems. In: Baresi L Heckel R (eds) Proceedings of FASE’06 Fundamental Approaches to Software Engineering Vienna Austria March 27–29 2006. Lecture Notes in Computer Science vol 3922. Springer Berlin pp 324–338

3. Aichernig BK (2001) Systematic black-box testing of computer-based systems through formal abstraction techniques. Ph.D. thesis Institute for Software Technology TU Graz Austria January 2001 Supervisor: Peter Lucas

4. Test-design through abstraction: a systematic approach based on the refinement calculus;Aichernig BK;J Universal Comput Sci,2001

5. Mutation testing in the refinement calculus;Aichernig BK;Formal Asp Comput J,2003

Cited by 20 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Applying Formal Verification to an Open-Source Real-Time Operating System;Theories of Programming and Formal Methods;2023

2. Mutation testing with hyperproperties;Software and Systems Modeling;2021-04

3. Testing Robots Using CSP;Tests and Proofs;2019

4. A Testing Perspective on Algebraic, Denotational, and Operational Semantics;Unifying Theories of Programming;2019

5. Automated Test Generation and Mutation Testing for Alloy;2017 IEEE International Conference on Software Testing, Verification and Validation (ICST);2017-03

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3