An automated search‐based test model generation approach for structural testing of model transformations

Model transformation testing has become crucial as model‐driven engineering has raised the ion level for developing software systems. Transformation is written to transform models from one level of ion to another, for example, model to model or model to code. A major challenge in testing the transfo...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Journal of software : evolution and process 2022-11, Vol.34 (11), p.n/a
Hauptverfasser: Jilani, Atif Aftab, Khan, Muhammad Uzair, Iqbal, Muhammad Zohaib, Usman, Muhammad
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page n/a
container_issue 11
container_start_page
container_title Journal of software : evolution and process
container_volume 34
creator Jilani, Atif Aftab
Khan, Muhammad Uzair
Iqbal, Muhammad Zohaib
Usman, Muhammad
description Model transformation testing has become crucial as model‐driven engineering has raised the ion level for developing software systems. Transformation is written to transform models from one level of ion to another, for example, model to model or model to code. A major challenge in testing the transformation is the creation of test models, such that (i) they conform to the source meta‐model (i.e., multiplicities and Object Constraint Language [OCL] constraints on meta‐model) and (ii) they provide coverage of the complete transformation (solving branch conditions for traversing all paths). Manual creation of test models requires a lot of time and effort. Still, the validity of the developed test models cannot be ensured. This paper aims to solve the above challenges using an automated search‐based strategy. The proposed approach is two‐stepped. First, valid test models are generated by solving source meta‐model constraints. Second, the generated models are evolved for achieving the structural coverage of the transformation by solving the branch conditions. A toolset model transformation testing environment (MOTTER) is developed to automate the search‐based solution. The proposed work is empirically evaluated on two case studies using four search algorithms. The result reflects that it successfully generates valid test models for achieving desired structural coverage with high performance on both the case studies. This paper proposes an automated search‐based test model generation approach for structural testing of model transformations that specifically generates valid test model instances. The contributions of the paper include (i) a strategy for solving multiplicity and OCL constraints on the meta‐model, (ii) a strategy for solving branch conditions in the transformation code, (iii) approach and branch distance heuristics for fitness functions, and (iv) evaluation on the benchmark and industrial case studies. The result shows that the approach is successful in generating valid test models, achieves desired branch coverage for the transformation, and has potential to reduce the effort and time.
doi_str_mv 10.1002/smr.2461
format Article
fullrecord <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_journals_2728578750</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2728578750</sourcerecordid><originalsourceid>FETCH-LOGICAL-c1841-e50cb52f07cfe12963fa03491b366e47a6af0988a4c1d78144c15ee15a12415b3</originalsourceid><addsrcrecordid>eNp10MtqAyEUBmApLTSkgT7CQDfdTKqOjmYZQm-QUuhlLWeMJhNmxlQdSnZ9hD5jn6TmQnd1cxS-4zn8CF0SPCYY05vQ-jFlJTlBA4qZyAWT5PTvLopzNAphjdMpKeaMD9B62mXQR9dCNIssGPB69fP1XUFIz2hCzFq3ME22NJ3xEGuX-GbjHehVZp3PQvS9jr2HZq_rbpk5e-yJHrqQULvvCxfozEITzOhYh-j97vZt9pDPn-8fZ9N5rolkJDcc64pTi4W2htBJWVjABZuQqihLwwSUYPFESmCaLIQkLFVuDOFAKCO8Kobo6vBvWvOjT0uptet9l0YqKqjkQgqOk7o-KO1dCN5YtfF1C36rCFa7MFUKU-3CTDQ_0M-6Mdt_nXp9etn7XzgFd54</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2728578750</pqid></control><display><type>article</type><title>An automated search‐based test model generation approach for structural testing of model transformations</title><source>Wiley Online Library</source><creator>Jilani, Atif Aftab ; Khan, Muhammad Uzair ; Iqbal, Muhammad Zohaib ; Usman, Muhammad</creator><creatorcontrib>Jilani, Atif Aftab ; Khan, Muhammad Uzair ; Iqbal, Muhammad Zohaib ; Usman, Muhammad</creatorcontrib><description>Model transformation testing has become crucial as model‐driven engineering has raised the ion level for developing software systems. Transformation is written to transform models from one level of ion to another, for example, model to model or model to code. A major challenge in testing the transformation is the creation of test models, such that (i) they conform to the source meta‐model (i.e., multiplicities and Object Constraint Language [OCL] constraints on meta‐model) and (ii) they provide coverage of the complete transformation (solving branch conditions for traversing all paths). Manual creation of test models requires a lot of time and effort. Still, the validity of the developed test models cannot be ensured. This paper aims to solve the above challenges using an automated search‐based strategy. The proposed approach is two‐stepped. First, valid test models are generated by solving source meta‐model constraints. Second, the generated models are evolved for achieving the structural coverage of the transformation by solving the branch conditions. A toolset model transformation testing environment (MOTTER) is developed to automate the search‐based solution. The proposed work is empirically evaluated on two case studies using four search algorithms. The result reflects that it successfully generates valid test models for achieving desired structural coverage with high performance on both the case studies. This paper proposes an automated search‐based test model generation approach for structural testing of model transformations that specifically generates valid test model instances. The contributions of the paper include (i) a strategy for solving multiplicity and OCL constraints on the meta‐model, (ii) a strategy for solving branch conditions in the transformation code, (iii) approach and branch distance heuristics for fitness functions, and (iv) evaluation on the benchmark and industrial case studies. The result shows that the approach is successful in generating valid test models, achieves desired branch coverage for the transformation, and has potential to reduce the effort and time.</description><identifier>ISSN: 2047-7473</identifier><identifier>EISSN: 2047-7481</identifier><identifier>DOI: 10.1002/smr.2461</identifier><language>eng</language><publisher>Chichester: Wiley Subscription Services, Inc</publisher><subject>Automation ; Case studies ; Constraint modelling ; constraint solving ; instance generation ; Model testing ; model transformation ; Search algorithms ; search based ; Software development ; structural testing ; test model ; Transformations</subject><ispartof>Journal of software : evolution and process, 2022-11, Vol.34 (11), p.n/a</ispartof><rights>2022 John Wiley &amp; Sons Ltd.</rights><rights>2022 John Wiley &amp; Sons, Ltd.</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><cites>FETCH-LOGICAL-c1841-e50cb52f07cfe12963fa03491b366e47a6af0988a4c1d78144c15ee15a12415b3</cites><orcidid>0000-0002-8311-8279 ; 0000-0003-2759-3259</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktopdf>$$Uhttps://onlinelibrary.wiley.com/doi/pdf/10.1002%2Fsmr.2461$$EPDF$$P50$$Gwiley$$H</linktopdf><linktohtml>$$Uhttps://onlinelibrary.wiley.com/doi/full/10.1002%2Fsmr.2461$$EHTML$$P50$$Gwiley$$H</linktohtml><link.rule.ids>314,780,784,1416,27923,27924,45573,45574</link.rule.ids></links><search><creatorcontrib>Jilani, Atif Aftab</creatorcontrib><creatorcontrib>Khan, Muhammad Uzair</creatorcontrib><creatorcontrib>Iqbal, Muhammad Zohaib</creatorcontrib><creatorcontrib>Usman, Muhammad</creatorcontrib><title>An automated search‐based test model generation approach for structural testing of model transformations</title><title>Journal of software : evolution and process</title><description>Model transformation testing has become crucial as model‐driven engineering has raised the ion level for developing software systems. Transformation is written to transform models from one level of ion to another, for example, model to model or model to code. A major challenge in testing the transformation is the creation of test models, such that (i) they conform to the source meta‐model (i.e., multiplicities and Object Constraint Language [OCL] constraints on meta‐model) and (ii) they provide coverage of the complete transformation (solving branch conditions for traversing all paths). Manual creation of test models requires a lot of time and effort. Still, the validity of the developed test models cannot be ensured. This paper aims to solve the above challenges using an automated search‐based strategy. The proposed approach is two‐stepped. First, valid test models are generated by solving source meta‐model constraints. Second, the generated models are evolved for achieving the structural coverage of the transformation by solving the branch conditions. A toolset model transformation testing environment (MOTTER) is developed to automate the search‐based solution. The proposed work is empirically evaluated on two case studies using four search algorithms. The result reflects that it successfully generates valid test models for achieving desired structural coverage with high performance on both the case studies. This paper proposes an automated search‐based test model generation approach for structural testing of model transformations that specifically generates valid test model instances. The contributions of the paper include (i) a strategy for solving multiplicity and OCL constraints on the meta‐model, (ii) a strategy for solving branch conditions in the transformation code, (iii) approach and branch distance heuristics for fitness functions, and (iv) evaluation on the benchmark and industrial case studies. The result shows that the approach is successful in generating valid test models, achieves desired branch coverage for the transformation, and has potential to reduce the effort and time.</description><subject>Automation</subject><subject>Case studies</subject><subject>Constraint modelling</subject><subject>constraint solving</subject><subject>instance generation</subject><subject>Model testing</subject><subject>model transformation</subject><subject>Search algorithms</subject><subject>search based</subject><subject>Software development</subject><subject>structural testing</subject><subject>test model</subject><subject>Transformations</subject><issn>2047-7473</issn><issn>2047-7481</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2022</creationdate><recordtype>article</recordtype><recordid>eNp10MtqAyEUBmApLTSkgT7CQDfdTKqOjmYZQm-QUuhlLWeMJhNmxlQdSnZ9hD5jn6TmQnd1cxS-4zn8CF0SPCYY05vQ-jFlJTlBA4qZyAWT5PTvLopzNAphjdMpKeaMD9B62mXQR9dCNIssGPB69fP1XUFIz2hCzFq3ME22NJ3xEGuX-GbjHehVZp3PQvS9jr2HZq_rbpk5e-yJHrqQULvvCxfozEITzOhYh-j97vZt9pDPn-8fZ9N5rolkJDcc64pTi4W2htBJWVjABZuQqihLwwSUYPFESmCaLIQkLFVuDOFAKCO8Kobo6vBvWvOjT0uptet9l0YqKqjkQgqOk7o-KO1dCN5YtfF1C36rCFa7MFUKU-3CTDQ_0M-6Mdt_nXp9etn7XzgFd54</recordid><startdate>202211</startdate><enddate>202211</enddate><creator>Jilani, Atif Aftab</creator><creator>Khan, Muhammad Uzair</creator><creator>Iqbal, Muhammad Zohaib</creator><creator>Usman, Muhammad</creator><general>Wiley Subscription Services, Inc</general><scope>AAYXX</scope><scope>CITATION</scope><scope>7SC</scope><scope>8FD</scope><scope>JQ2</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope><orcidid>https://orcid.org/0000-0002-8311-8279</orcidid><orcidid>https://orcid.org/0000-0003-2759-3259</orcidid></search><sort><creationdate>202211</creationdate><title>An automated search‐based test model generation approach for structural testing of model transformations</title><author>Jilani, Atif Aftab ; Khan, Muhammad Uzair ; Iqbal, Muhammad Zohaib ; Usman, Muhammad</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c1841-e50cb52f07cfe12963fa03491b366e47a6af0988a4c1d78144c15ee15a12415b3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2022</creationdate><topic>Automation</topic><topic>Case studies</topic><topic>Constraint modelling</topic><topic>constraint solving</topic><topic>instance generation</topic><topic>Model testing</topic><topic>model transformation</topic><topic>Search algorithms</topic><topic>search based</topic><topic>Software development</topic><topic>structural testing</topic><topic>test model</topic><topic>Transformations</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Jilani, Atif Aftab</creatorcontrib><creatorcontrib>Khan, Muhammad Uzair</creatorcontrib><creatorcontrib>Iqbal, Muhammad Zohaib</creatorcontrib><creatorcontrib>Usman, Muhammad</creatorcontrib><collection>CrossRef</collection><collection>Computer and Information Systems Abstracts</collection><collection>Technology Research Database</collection><collection>ProQuest Computer Science Collection</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts – Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><jtitle>Journal of software : evolution and process</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Jilani, Atif Aftab</au><au>Khan, Muhammad Uzair</au><au>Iqbal, Muhammad Zohaib</au><au>Usman, Muhammad</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>An automated search‐based test model generation approach for structural testing of model transformations</atitle><jtitle>Journal of software : evolution and process</jtitle><date>2022-11</date><risdate>2022</risdate><volume>34</volume><issue>11</issue><epage>n/a</epage><issn>2047-7473</issn><eissn>2047-7481</eissn><abstract>Model transformation testing has become crucial as model‐driven engineering has raised the ion level for developing software systems. Transformation is written to transform models from one level of ion to another, for example, model to model or model to code. A major challenge in testing the transformation is the creation of test models, such that (i) they conform to the source meta‐model (i.e., multiplicities and Object Constraint Language [OCL] constraints on meta‐model) and (ii) they provide coverage of the complete transformation (solving branch conditions for traversing all paths). Manual creation of test models requires a lot of time and effort. Still, the validity of the developed test models cannot be ensured. This paper aims to solve the above challenges using an automated search‐based strategy. The proposed approach is two‐stepped. First, valid test models are generated by solving source meta‐model constraints. Second, the generated models are evolved for achieving the structural coverage of the transformation by solving the branch conditions. A toolset model transformation testing environment (MOTTER) is developed to automate the search‐based solution. The proposed work is empirically evaluated on two case studies using four search algorithms. The result reflects that it successfully generates valid test models for achieving desired structural coverage with high performance on both the case studies. This paper proposes an automated search‐based test model generation approach for structural testing of model transformations that specifically generates valid test model instances. The contributions of the paper include (i) a strategy for solving multiplicity and OCL constraints on the meta‐model, (ii) a strategy for solving branch conditions in the transformation code, (iii) approach and branch distance heuristics for fitness functions, and (iv) evaluation on the benchmark and industrial case studies. The result shows that the approach is successful in generating valid test models, achieves desired branch coverage for the transformation, and has potential to reduce the effort and time.</abstract><cop>Chichester</cop><pub>Wiley Subscription Services, Inc</pub><doi>10.1002/smr.2461</doi><tpages>33</tpages><orcidid>https://orcid.org/0000-0002-8311-8279</orcidid><orcidid>https://orcid.org/0000-0003-2759-3259</orcidid></addata></record>
fulltext fulltext
identifier ISSN: 2047-7473
ispartof Journal of software : evolution and process, 2022-11, Vol.34 (11), p.n/a
issn 2047-7473
2047-7481
language eng
recordid cdi_proquest_journals_2728578750
source Wiley Online Library
subjects Automation
Case studies
Constraint modelling
constraint solving
instance generation
Model testing
model transformation
Search algorithms
search based
Software development
structural testing
test model
Transformations
title An automated search‐based test model generation approach for structural testing of model transformations
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-10T15%3A09%3A06IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=An%20automated%20search%E2%80%90based%20test%20model%20generation%20approach%20for%20structural%20testing%20of%20model%20transformations&rft.jtitle=Journal%20of%20software%20:%20evolution%20and%20process&rft.au=Jilani,%20Atif%20Aftab&rft.date=2022-11&rft.volume=34&rft.issue=11&rft.epage=n/a&rft.issn=2047-7473&rft.eissn=2047-7481&rft_id=info:doi/10.1002/smr.2461&rft_dat=%3Cproquest_cross%3E2728578750%3C/proquest_cross%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=2728578750&rft_id=info:pmid/&rfr_iscdi=true