首页 > 最新文献
paperpass

Most最新文献

英文 中文
Test case generation from formal models through abstraction refinement and model checking 通过抽象细化和模型检查,从正式模型生成测试用例
Pub Date : 2007-07-09 DOI: 10.1145/1291535.1291544
M. Satpathy, S. Ramesh
In this paper, we adapt the abstraction refinement techniques of Clarke et al. [7] and Gulavani et al. [15] for systematic generation of model based test cases. Formal models are in general infinite state machines. We approximate such a formal model by a more abstract finite state machine. From the finite model, we obtain probable test cases through model checking, and then a guided symbolic execution is performed over the given formal model to check if this is a real test case. In case of failure, the finite abstract model is refined and the cycle is repeated. The two main results of this paper are: (a) better specification coverage is achieved, and (b) we obtain a more accurate coverage estimate. We explain our method by considering models in the specification language B.
在本文中,我们采用了Clarke et al.[7]和Gulavani et al.[15]的抽象细化技术来系统地生成基于模型的测试用例。形式模型通常是无限状态机。我们用一个更抽象的有限状态机来近似这种形式模型。从有限模型出发,通过模型检查获得可能的测试用例,然后对给定的形式模型进行引导符号执行,以检查这是否是真实的测试用例。在失效的情况下,对有限抽象模型进行细化,重复循环。本文的两个主要结果是:(a)实现了更好的规范覆盖率,(b)我们获得了更准确的覆盖率估计。我们通过考虑规范语言B中的模型来解释我们的方法。
{"title":"Test case generation from formal models through abstraction refinement and model checking","authors":"M. Satpathy, S. Ramesh","doi":"10.1145/1291535.1291544","DOIUrl":"https://doi.org/10.1145/1291535.1291544","url":null,"abstract":"In this paper, we adapt the abstraction refinement techniques of Clarke et al. [7] and Gulavani et al. [15] for systematic generation of model based test cases. Formal models are in general infinite state machines. We approximate such a formal model by a more abstract finite state machine. From the finite model, we obtain probable test cases through model checking, and then a guided symbolic execution is performed over the given formal model to check if this is a real test case. In case of failure, the finite abstract model is refined and the cycle is repeated. The two main results of this paper are: (a) better specification coverage is achieved, and (b) we obtain a more accurate coverage estimate. We explain our method by considering models in the specification language B.","PeriodicalId":439154,"journal":{"name":"Most","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114608365","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 10
Model-based regression test suite generation using dependence analysis 使用依赖性分析生成基于模型的回归测试套件
Pub Date : 2007-07-09 DOI: 10.1145/1291535.1291541
Yanping Chen, R. Probert, H. Ural
A regression test suite (RTS) is constructed to ensure that the changed parts of the system under test (SUT) behave as desired and that the unchanged parts of the SUT are not adversely affected. Model-based testing is a system testing technique in which systems are modeled by formal description languages, e.g., Extended Finite State Machine (EFSM) models. In this paper, a model-based RTS generation method based on EFSM dependence analysis is proposed. Twelve types of dependences are identified related to three types of elementary modifications (EMs), i.e., adding, deleting, and changing transitions in an EFSM model representing an SUT. These dependences capture the effects of the model on the EMs, the effects of the EMs on the model, and the side-effects of the EMs. The proposed method constructs an RTS by covering all occurrences of these dependences caused in a given EFSM model by a given set of EMs.
构建回归测试套件(RTS)是为了确保被测系统(SUT)中已更改的部分按照期望的方式运行,并且SUT中未更改的部分不会受到不利影响。基于模型的测试是一种系统测试技术,其中系统通过正式描述语言建模,例如扩展有限状态机(EFSM)模型。本文提出了一种基于EFSM依赖性分析的基于模型的RTS生成方法。确定了与三种基本修改(em)相关的十二种依赖类型,即,在表示SUT的EFSM模型中添加、删除和更改转换。这些依赖关系捕获模型对EMs的影响、EMs对模型的影响以及EMs的副作用。所提出的方法通过覆盖给定的一组EMs在给定的EFSM模型中引起的这些依赖的所有情况来构建RTS。
{"title":"Model-based regression test suite generation using dependence analysis","authors":"Yanping Chen, R. Probert, H. Ural","doi":"10.1145/1291535.1291541","DOIUrl":"https://doi.org/10.1145/1291535.1291541","url":null,"abstract":"A regression test suite (RTS) is constructed to ensure that the changed parts of the system under test (SUT) behave as desired and that the unchanged parts of the SUT are not adversely affected. Model-based testing is a system testing technique in which systems are modeled by formal description languages, e.g., Extended Finite State Machine (EFSM) models. In this paper, a model-based RTS generation method based on EFSM dependence analysis is proposed. Twelve types of dependences are identified related to three types of elementary modifications (EMs), i.e., adding, deleting, and changing transitions in an EFSM model representing an SUT. These dependences capture the effects of the model on the EMs, the effects of the EMs on the model, and the side-effects of the EMs. The proposed method constructs an RTS by covering all occurrences of these dependences caused in a given EFSM model by a given set of EMs.","PeriodicalId":439154,"journal":{"name":"Most","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130062978","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 64
Relating counterexamples to test cases in CTL model checking specifications 将反例与CTL模型检查规范中的测试用例联系起来
Pub Date : 2007-07-09 DOI: 10.1145/1291535.1291543
D. Wijesekera, P. Ammann, Lingya Sun, G. Fraser
Counterexamples produced by model checkers are frequently exploited for the purpose of testing. Counterexamples and test cases are generally treated as essentially the same thing, while in fact they can differ significantly. For example, it might take more than one test case to "cover" a given counterexample, because not all property violations can be illustrated with linear counterexamples. This paper presents a formal relationship between counterexamples and test cases in the context of the Computation Tree Logic (CTL), the logic of the popular model checker SMV. Given a test requirement as a CTL formula, we define what it means for a set of test cases to cover a counterexample associated with that requirement. This result can not only be used in the generation of a test set that satisfies a given test coverage criterion, but also in the determination of whether an extant test set satisfies the criterion. Our results can guide the production of counterexamples in model checkers explicitly intended to support testing.
模型检查器产生的反例经常被用于测试目的。反例和测试用例通常被视为本质上相同的东西,而实际上它们可能有很大的不同。例如,可能需要多个测试用例来“覆盖”给定的反例,因为不是所有的属性违反都可以用线性反例来说明。本文在计算树逻辑(CTL)的背景下给出了反例和测试用例之间的形式化关系,CTL是流行的模型检查器SMV的逻辑。给定一个作为CTL公式的测试需求,我们定义它对于一组测试用例的意义,以覆盖与该需求相关的反例。该结果不仅可以用于生成满足给定测试覆盖率准则的测试集,还可以用于确定现有测试集是否满足该准则。我们的结果可以指导模型检查器中明确支持测试的反例的生成。
{"title":"Relating counterexamples to test cases in CTL model checking specifications","authors":"D. Wijesekera, P. Ammann, Lingya Sun, G. Fraser","doi":"10.1145/1291535.1291543","DOIUrl":"https://doi.org/10.1145/1291535.1291543","url":null,"abstract":"Counterexamples produced by model checkers are frequently exploited for the purpose of testing. Counterexamples and test cases are generally treated as essentially the same thing, while in fact they can differ significantly. For example, it might take more than one test case to \"cover\" a given counterexample, because not all property violations can be illustrated with linear counterexamples. This paper presents a formal relationship between counterexamples and test cases in the context of the Computation Tree Logic (CTL), the logic of the popular model checker SMV. Given a test requirement as a CTL formula, we define what it means for a set of test cases to cover a counterexample associated with that requirement. This result can not only be used in the generation of a test set that satisfies a given test coverage criterion, but also in the determination of whether an extant test set satisfies the criterion. Our results can guide the production of counterexamples in model checkers explicitly intended to support testing.","PeriodicalId":439154,"journal":{"name":"Most","volume":"66 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117298123","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 14
Towards traceability of model-based testing artifacts 朝向基于模型的测试工件的可追溯性
Pub Date : 2007-07-09 DOI: 10.1145/1291535.1291546
L. Naslavsky, H. Ziv, D. Richardson
Practitioners regard software testing as the central means for ensuring that a system behaves as expected. Due to the recent widespread adoption of model-driven development (MDD), code is no longer the single source for selecting test cases. Testing against original expectations can be done with model-based testing that adopts high-level models as the basis for test generation. In addition to test generation, challenges to model-based testing include creation and maintenance of traceability information among test-related artifacts. Traceability is required to support activities such as result evaluation, regression testing and coverage analysis. MDD and model transformation solutions address the traceability problem by creating relationships among transformed artifacts throughout the transformation process. This paper proposes an approach that leverages model transformation traceability techniques to create fine-grained relationships among model-based testing artifacts. Relationships are created during the test generation process. Their fine granularity enables the support for result evaluation, coverage analysis and regression testing.
实践者将软件测试视为确保系统按预期运行的核心手段。由于最近模型驱动开发(MDD)的广泛采用,代码不再是选择测试用例的单一来源。针对原始期望的测试可以通过基于模型的测试来完成,该测试采用高级模型作为测试生成的基础。除了测试生成之外,对基于模型的测试的挑战还包括在测试相关工件之间创建和维护可跟踪性信息。可追溯性是支持诸如结果评估、回归测试和覆盖分析等活动所必需的。MDD和模型转换解决方案通过在整个转换过程中创建已转换工件之间的关系来解决可跟踪性问题。本文提出了一种利用模型转换可追溯性技术在基于模型的测试工件之间创建细粒度关系的方法。在测试生成过程中创建关系。它们的细粒度支持结果评估、覆盖率分析和回归测试。
{"title":"Towards traceability of model-based testing artifacts","authors":"L. Naslavsky, H. Ziv, D. Richardson","doi":"10.1145/1291535.1291546","DOIUrl":"https://doi.org/10.1145/1291535.1291546","url":null,"abstract":"Practitioners regard software testing as the central means for ensuring that a system behaves as expected. Due to the recent widespread adoption of model-driven development (MDD), code is no longer the single source for selecting test cases. Testing against original expectations can be done with model-based testing that adopts high-level models as the basis for test generation. In addition to test generation, challenges to model-based testing include creation and maintenance of traceability information among test-related artifacts. Traceability is required to support activities such as result evaluation, regression testing and coverage analysis. MDD and model transformation solutions address the traceability problem by creating relationships among transformed artifacts throughout the transformation process. This paper proposes an approach that leverages model transformation traceability techniques to create fine-grained relationships among model-based testing artifacts. Relationships are created during the test generation process. Their fine granularity enables the support for result evaluation, coverage analysis and regression testing.","PeriodicalId":439154,"journal":{"name":"Most","volume":"22 6S 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122813081","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 26
Automatic generation of model based tests for a class of security properties 为一类安全属性自动生成基于模型的测试
Pub Date : 2007-07-09 DOI: 10.1145/1291535.1291537
P. Masson, J. Julliand, J. Plessis, Eddie Jaffuel, G. Debois
This paper is a contribution to the problem of getting confident in the fact that an implementation correctly meets a security policy assigned to it. To do so, we compute tests that exercise security properties issued from the security policy. We proceed by model based testing. Classically, we use a functional model that formalizes the functional specification. But we also use a second model, in the shape of security properties, that formalize a part of the security policy. Tests are computed from the security properties, with the formal functional model as an oracle. We first formalize the informal security requirements as regular expressions. Then we introduce mutations in the regular expressions as to reflect the specific situations in which we intend to test the security properties. These mutated regular expression are unfolded into abstract test sequences. We present a set of four mutation rules that apply to a class of properties that we call sequencing properties, and we experiment our method on a standard in the smart card domain named IAS, for Identification, Authentication and electronic Signature.
本文对确信实现正确满足分配给它的安全策略这一事实做出了贡献。为此,我们计算执行安全策略发出的安全属性的测试。我们进行基于模型的测试。通常,我们使用功能模型来形式化功能规范。但是我们也使用第二种模型,以安全属性的形式,将安全策略的一部分形式化。测试从安全属性计算,使用正式的功能模型作为oracle。我们首先将非正式的安全需求形式化为正则表达式。然后,我们在正则表达式中引入突变,以反映我们打算测试安全属性的特定情况。将这些突变的正则表达式展开为抽象的测试序列。我们提出了一组四个突变规则,这些规则适用于一类我们称为排序属性的属性,并且我们在名为IAS的智能卡领域的标准上试验了我们的方法,用于识别、认证和电子签名。
{"title":"Automatic generation of model based tests for a class of security properties","authors":"P. Masson, J. Julliand, J. Plessis, Eddie Jaffuel, G. Debois","doi":"10.1145/1291535.1291537","DOIUrl":"https://doi.org/10.1145/1291535.1291537","url":null,"abstract":"This paper is a contribution to the problem of getting confident in the fact that an implementation correctly meets a security policy assigned to it. To do so, we compute tests that exercise security properties issued from the security policy. We proceed by model based testing. Classically, we use a functional model that formalizes the functional specification. But we also use a second model, in the shape of security properties, that formalize a part of the security policy. Tests are computed from the security properties, with the formal functional model as an oracle.\u0000 We first formalize the informal security requirements as regular expressions. Then we introduce mutations in the regular expressions as to reflect the specific situations in which we intend to test the security properties. These mutated regular expression are unfolded into abstract test sequences.\u0000 We present a set of four mutation rules that apply to a class of properties that we call sequencing properties, and we experiment our method on a standard in the smart card domain named IAS, for Identification, Authentication and electronic Signature.","PeriodicalId":439154,"journal":{"name":"Most","volume":"13 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134137717","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 13
Combining test case generation for component and integration testing 结合组件和集成测试的测试用例生成
Pub Date : 2007-07-09 DOI: 10.1145/1291535.1291538
S. Benz
When integrating different system components, the interaction between different features is often error prone. Typically errors occur on interruption, concurrency or disabling/enabling between different features. Test case generation for integration testing struggles with two problems: the large state space and that these critical relationships are often not explicitly modeled. The approach presented in this paper is to use task models to describe the interaction between environment and system. This restricts the possible state space to a feasible size and enables the generation of task sequences, which cover the critical interaction scenarios. These task sequences are too abstract for testing the System-Under-Test (SUT), due to missing input- and expected output behavior. To overcome the different abstraction levels, the tasks are mapped to component behavior models. Based on this mapping, task sequences can be enriched with additional information from the component models and thereby executed to test the SUT.
当集成不同的系统组件时,不同功能之间的交互往往容易出错。错误通常发生在中断、并发或禁用/启用不同功能之间。集成测试的测试用例生成面临两个问题:大的状态空间,以及这些关键关系通常没有显式建模。本文提出的方法是使用任务模型来描述环境与系统之间的交互作用。这将可能的状态空间限制在一个可行的大小,并允许生成任务序列,它涵盖了关键的交互场景。由于缺少输入和预期的输出行为,这些任务序列对于测试被测系统(SUT)来说过于抽象。为了克服不同的抽象级别,任务被映射到组件行为模型。基于此映射,可以使用来自组件模型的附加信息来丰富任务序列,从而执行以测试SUT。
{"title":"Combining test case generation for component and integration testing","authors":"S. Benz","doi":"10.1145/1291535.1291538","DOIUrl":"https://doi.org/10.1145/1291535.1291538","url":null,"abstract":"When integrating different system components, the interaction between different features is often error prone. Typically errors occur on interruption, concurrency or disabling/enabling between different features. Test case generation for integration testing struggles with two problems: the large state space and that these critical relationships are often not explicitly modeled. The approach presented in this paper is to use task models to describe the interaction between environment and system. This restricts the possible state space to a feasible size and enables the generation of task sequences, which cover the critical interaction scenarios. These task sequences are too abstract for testing the System-Under-Test (SUT), due to missing input- and expected output behavior. To overcome the different abstraction levels, the tasks are mapped to component behavior models. Based on this mapping, task sequences can be enriched with additional information from the component models and thereby executed to test the SUT.","PeriodicalId":439154,"journal":{"name":"Most","volume":"15 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132793994","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 33
Test purpose generation in an industrial application 在工业应用程序中生成测试目的
Pub Date : 2007-07-09 DOI: 10.1145/1291535.1291547
B. Aichernig, Martin Weiglhofer, B. Peischl, F. Wotawa
Nowadays test engineers use various strategies for the design of test cases. Among others, test cases are designed on basis of structural coverage criteria or test cases are related to specific fault models. In this paper we evaluate these two techniques for test purpose design. We present a heuristic algorithm for the extraction of test cases from TGV's output, i.e., the test process. We discuss the problem of overlapping test purposes and illustrate improvements in terms of test execution time and in terms of number of test cases when minimizing this overlap. Furthermore, we present different strategies for the generation of fault-based test purposes. For our evaluation we apply the presented techniques to a Session Initiation Protocol (SIP) Registrar specification. All extracted test cases are executed against a commercial and an open source implementation of such a SIP Registrar.
如今,测试工程师使用各种策略来设计测试用例。其中,测试用例是基于结构覆盖标准设计的,或者测试用例与特定的故障模型相关。在本文中,我们对这两种技术进行了测试目的设计。我们提出了一种启发式算法,用于从TGV的输出中提取测试用例,即测试过程。我们讨论了重叠测试目的的问题,并举例说明了在最小化重叠时测试执行时间和测试用例数量方面的改进。此外,我们提出了不同的策略来生成基于故障的测试目的。为了进行评估,我们将介绍的技术应用于会话发起协议(SIP)注册器规范。所有提取的测试用例都是针对这种SIP注册器的商业和开放源码实现执行的。
{"title":"Test purpose generation in an industrial application","authors":"B. Aichernig, Martin Weiglhofer, B. Peischl, F. Wotawa","doi":"10.1145/1291535.1291547","DOIUrl":"https://doi.org/10.1145/1291535.1291547","url":null,"abstract":"Nowadays test engineers use various strategies for the design of test cases. Among others, test cases are designed on basis of structural coverage criteria or test cases are related to specific fault models. In this paper we evaluate these two techniques for test purpose design. We present a heuristic algorithm for the extraction of test cases from TGV's output, i.e., the test process. We discuss the problem of overlapping test purposes and illustrate improvements in terms of test execution time and in terms of number of test cases when minimizing this overlap. Furthermore, we present different strategies for the generation of fault-based test purposes. For our evaluation we apply the presented techniques to a Session Initiation Protocol (SIP) Registrar specification. All extracted test cases are executed against a commercial and an open source implementation of such a SIP Registrar.","PeriodicalId":439154,"journal":{"name":"Most","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130487254","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 10
Model-based test prioritization heuristic methods and their evaluation 基于模型的测试优先级启发式方法及其评价
Pub Date : 2007-07-09 DOI: 10.1145/1291535.1291539
B. Korel, G. Koutsogiannakis, L. Tahat
During regression testing, a modified system needs to be retested using the existing test suite. Since test suites may be very large, developers are interested in detecting faults in the system as early as possible. Test prioritization orders test cases for execution to increase potentially the chances of early fault detection during retesting. Most of the existing test prioritization methods are based on the code of the system, but model-based test prioritization has been recently proposed. System modeling is a widely used technique to model state-based systems. System models may not only be used to generate test cases but also to prioritize tests. In model-based prioritization, information collected during execution of a model is used to prioritize tests for execution. In this paper we present several model-based test prioritization heuristics. The major motivation to develop these heuristics was simplicity and effectiveness in early fault detection. We have conducted a small experimental study in which we experimentally compared model-based test prioritization heuristics. The results have shown that some simple heuristic methods can be as effective in early fault detection as more complex ones.
在回归测试期间,修改后的系统需要使用现有的测试套件进行重新测试。由于测试套件可能非常大,开发人员对尽早检测系统中的错误很感兴趣。测试优先级对测试用例进行排序,以便在重新测试期间潜在地增加早期故障检测的机会。现有的测试优先级划分方法大多是基于系统代码的,但最近提出了基于模型的测试优先级划分方法。系统建模是一种广泛使用的基于状态的系统建模技术。系统模型不仅可以用来生成测试用例,还可以用来确定测试的优先级。在基于模型的优先排序中,在模型执行期间收集的信息用于对执行的测试进行优先排序。本文提出了几种基于模型的测试优先排序启发式方法。开发这些启发式的主要动机是在早期故障检测方面的简单性和有效性。我们进行了一项小型实验研究,在该研究中,我们通过实验比较了基于模型的测试优先级启发式。结果表明,一些简单的启发式方法可以像更复杂的启发式方法一样有效地进行早期故障检测。
{"title":"Model-based test prioritization heuristic methods and their evaluation","authors":"B. Korel, G. Koutsogiannakis, L. Tahat","doi":"10.1145/1291535.1291539","DOIUrl":"https://doi.org/10.1145/1291535.1291539","url":null,"abstract":"During regression testing, a modified system needs to be retested using the existing test suite. Since test suites may be very large, developers are interested in detecting faults in the system as early as possible. Test prioritization orders test cases for execution to increase potentially the chances of early fault detection during retesting. Most of the existing test prioritization methods are based on the code of the system, but model-based test prioritization has been recently proposed. System modeling is a widely used technique to model state-based systems. System models may not only be used to generate test cases but also to prioritize tests. In model-based prioritization, information collected during execution of a model is used to prioritize tests for execution. In this paper we present several model-based test prioritization heuristics. The major motivation to develop these heuristics was simplicity and effectiveness in early fault detection. We have conducted a small experimental study in which we experimentally compared model-based test prioritization heuristics. The results have shown that some simple heuristic methods can be as effective in early fault detection as more complex ones.","PeriodicalId":439154,"journal":{"name":"Most","volume":"129 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121540484","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 88
Achieving both model and code coverage with automated gray-box testing 通过自动化灰盒测试实现模型和代码覆盖
Pub Date : 2007-07-09 DOI: 10.1145/1291535.1291536
N. Kicillof, W. Grieskamp, N. Tillmann, V. Braberman
We have devised a novel technique to automatically generate test cases for a software system, combining black-box model-based testing with white-box parameterized unit testing. The former provides general guidance for the structure of the tests in the form of test sequences, as well as the oracle to check for conformance of an application under test with respect to a behavioral model. The latter finds a set of concrete parameter values that maximize code coverage using symbolic analysis. By applying these techniques together, we can produce test definitions (expressed as code to be run in a test management framework) that exercise all selected paths in the model, while also covering code branches specific to the implementation. These results cannot be obtained from any of the individual approaches alone, as the model cannot predict what values are significant to a particular implementation, while parameterized unit testing requires manually written test sequences and correctness validations. We provide tool support, integrated into our model-based testing tool.
我们已经设计了一种新的技术来自动地为软件系统生成测试用例,将基于黑盒模型的测试与白盒参数化单元测试相结合。前者以测试序列的形式提供了测试结构的一般指导,以及根据行为模型检查被测应用程序的一致性的oracle。后者使用符号分析找到一组具体的参数值,使代码覆盖率最大化。通过一起应用这些技术,我们可以产生测试定义(表示为要在测试管理框架中运行的代码),它可以在模型中执行所有选定的路径,同时也覆盖特定于实现的代码分支。这些结果不能单独从任何单独的方法中获得,因为模型不能预测哪些值对特定的实现是重要的,而参数化单元测试需要手动编写测试序列和正确性验证。我们提供工具支持,集成到我们基于模型的测试工具中。
{"title":"Achieving both model and code coverage with automated gray-box testing","authors":"N. Kicillof, W. Grieskamp, N. Tillmann, V. Braberman","doi":"10.1145/1291535.1291536","DOIUrl":"https://doi.org/10.1145/1291535.1291536","url":null,"abstract":"We have devised a novel technique to automatically generate test cases for a software system, combining black-box model-based testing with white-box parameterized unit testing. The former provides general guidance for the structure of the tests in the form of test sequences, as well as the oracle to check for conformance of an application under test with respect to a behavioral model. The latter finds a set of concrete parameter values that maximize code coverage using symbolic analysis. By applying these techniques together, we can produce test definitions (expressed as code to be run in a test management framework) that exercise all selected paths in the model, while also covering code branches specific to the implementation. These results cannot be obtained from any of the individual approaches alone, as the model cannot predict what values are significant to a particular implementation, while parameterized unit testing requires manually written test sequences and correctness validations. We provide tool support, integrated into our model-based testing tool.","PeriodicalId":439154,"journal":{"name":"Most","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125888076","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 31
An approach for selective state machine based regression testing 基于选择状态机的回归测试方法
Pub Date : 2007-07-09 DOI: 10.1145/1291535.1291540
Qurat-ul-ann Farooq, Muhammad Zohaib Z. Iqbal, Z. I. Malik, A. Nadeem
Model-based regression testing is an important activity that ensures the reliability of evolving software. One of the major issues in this type of testing is the optimal selection of test-cases to test the affected portion of the software. In this paper, we present a UML based selective regression testing strategy that uses state machines and class diagrams for change identification. We identify the changes using the UML 2.1 semantics of state machines and class diagram. The changes are classified as Class-driven (obtained from class diagram) and State-driven (obtained from state machine). The Class-driven changes are important as these changes are not reflected on the state machines and they might be helpful in identifying some fault-revealing test cases. With the help of the identified changes, we classify the test cases of the test suite as Obsolete, Reusable, and Retestable. We apply the approach on a case study to demonstrate its validity.
基于模型的回归测试是保证软件发展可靠性的一项重要活动。这种类型的测试的主要问题之一是测试用例的最佳选择,以测试软件的受影响部分。在本文中,我们提出了一种基于UML的选择性回归测试策略,该策略使用状态机和类图进行变更识别。我们使用UML 2.1状态机和类图的语义来识别变更。变更被分类为类驱动(从类图中获得)和状态驱动(从状态机中获得)。类驱动的更改很重要,因为这些更改不会反映在状态机上,并且它们可能有助于识别一些故障揭示测试用例。在确定变更的帮助下,我们将测试套件的测试用例分为过时的、可重用的和可重新测试的。我们将该方法应用于一个案例研究,以证明其有效性。
{"title":"An approach for selective state machine based regression testing","authors":"Qurat-ul-ann Farooq, Muhammad Zohaib Z. Iqbal, Z. I. Malik, A. Nadeem","doi":"10.1145/1291535.1291540","DOIUrl":"https://doi.org/10.1145/1291535.1291540","url":null,"abstract":"Model-based regression testing is an important activity that ensures the reliability of evolving software. One of the major issues in this type of testing is the optimal selection of test-cases to test the affected portion of the software. In this paper, we present a UML based selective regression testing strategy that uses state machines and class diagrams for change identification. We identify the changes using the UML 2.1 semantics of state machines and class diagram. The changes are classified as Class-driven (obtained from class diagram) and State-driven (obtained from state machine). The Class-driven changes are important as these changes are not reflected on the state machines and they might be helpful in identifying some fault-revealing test cases. With the help of the identified changes, we classify the test cases of the test suite as Obsolete, Reusable, and Retestable. We apply the approach on a case study to demonstrate its validity.","PeriodicalId":439154,"journal":{"name":"Most","volume":"48 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116992264","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 72
期刊
Most
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
﹀
mjeditor
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1