{"title":"AbsCon: A Test Concretizer for Model-Based Testing","authors":"J. Vanhecke, Xavier Devroey, Gilles Perrouin","doi":"10.1109/ICSTW.2019.00027","DOIUrl":null,"url":null,"abstract":"Test definition and execution is an essential but time-consuming task during system development. To speed up the process, model-based testing and other related approaches propose to generate/write abstract test cases and to concretize them using either transformations, an adapter, or a mixture of the two. QTaste is an industrial data-driven test case definition and execution environment used to perform black-box testing on various kinds of systems. QTaste's test cases are manually written in Python and use an adapter, called test API, to execute operations on the System Under Test (SUT) interfaces. In this paper, we describe AbsCon (Abstract test case Concretizer), a plugin used to generate test cases executable in QTaste based on their definition: i.e., sequences of abstract actions and assertions. AbsCon uses programmer friendly mappings (written in Python) for the SUT's interfaces, actions, and assertions, to generate standard test cases in QTaste format. Rather than having a complete model-based testing transformation chain, the plugin is bridging the gap between existing model-based test case generation tools and an industrial test case execution system using a mix of transformation and adaptation.","PeriodicalId":310230,"journal":{"name":"2019 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW)","volume":"121 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSTW.2019.00027","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
Abstract
Test definition and execution is an essential but time-consuming task during system development. To speed up the process, model-based testing and other related approaches propose to generate/write abstract test cases and to concretize them using either transformations, an adapter, or a mixture of the two. QTaste is an industrial data-driven test case definition and execution environment used to perform black-box testing on various kinds of systems. QTaste's test cases are manually written in Python and use an adapter, called test API, to execute operations on the System Under Test (SUT) interfaces. In this paper, we describe AbsCon (Abstract test case Concretizer), a plugin used to generate test cases executable in QTaste based on their definition: i.e., sequences of abstract actions and assertions. AbsCon uses programmer friendly mappings (written in Python) for the SUT's interfaces, actions, and assertions, to generate standard test cases in QTaste format. Rather than having a complete model-based testing transformation chain, the plugin is bridging the gap between existing model-based test case generation tools and an industrial test case execution system using a mix of transformation and adaptation.
在系统开发过程中,测试的定义和执行是一项必要但耗时的任务。为了加速这个过程,基于模型的测试和其他相关的方法建议生成/编写抽象的测试用例,并使用转换、适配器或两者的混合将它们具体化。QTaste是一个工业数据驱动的测试用例定义和执行环境,用于在各种系统上执行黑盒测试。QTaste的测试用例是用Python手工编写的,并使用称为测试API的适配器在被测系统(System Under test, SUT)接口上执行操作。在本文中,我们描述了抽象测试用例具体化器(抽象测试用例具体化器),这是一个插件,用于根据它们的定义在QTaste中生成可执行的测试用例:即抽象动作和断言的序列。对于SUT的接口、操作和断言,abon使用程序员友好的映射(用Python编写)来生成QTaste格式的标准测试用例。这个插件不是有一个完整的基于模型的测试转换链,而是在现有的基于模型的测试用例生成工具和使用转换和适应的混合的工业测试用例执行系统之间架起了桥梁。