Evaluation of Structural Testing Effectiveness in Industrial Model-driven Software Development

Software testing is a crucial but cost consuming practice in the development of safety critical software-intensive systems. In industry software testing techniques are chosen heuristically rather than scientifically. Researchers have studied for many years which test method is more efficient and eff...

Full description

Bibliographic Details
Main Author: Sarabi, Mahdi
Format: Others
Language:English
Published: Mälardalens högskola, Akademin för innovation, design och teknik 2012
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:mdh:diva-14904
id ndltd-UPSALLA1-oai-DiVA.org-mdh-14904
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-mdh-149042013-01-08T13:52:30ZEvaluation of Structural Testing Effectiveness in Industrial Model-driven Software DevelopmentengSarabi, MahdiMälardalens högskola, Akademin för innovation, design och teknik2012Software testing is a crucial but cost consuming practice in the development of safety critical software-intensive systems. In industry software testing techniques are chosen heuristically rather than scientifically. Researchers have studied for many years which test method is more efficient and effective in an industrial setting. Nevertheless, test design decisions still remain a challenge when applied in industry. Structural testing effectiveness is influenced by program code structure and the software development method used for designing and implementing industrial software-intensive systems. In the field of structural testing, the industrial approach toward different development methods and programming standards is studied insufficiently in the literature. In this thesis, we have found that applying structural testing on the actual generated source code from a Function Block Diagram (FBD) conforming to the IEC 61131-3 industrial standard is not effective. The FBD model is transformed to an FBD program code composed of almost exclusively assignments with Boolean expressions and function calls, which are not detected in code coverage analysis. In this thesis, we use the FBD model as a good candidate for measuring structural coverage, since it expresses the system behavior and it is the model from which the actual target code is generated. We propose a new automated method with potential application to our case study that evaluates the test suite based on structural coverage criteria. This leads to a shorter lifecycle with more effective structural testing for model-driven software development. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:mdh:diva-14904application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
description Software testing is a crucial but cost consuming practice in the development of safety critical software-intensive systems. In industry software testing techniques are chosen heuristically rather than scientifically. Researchers have studied for many years which test method is more efficient and effective in an industrial setting. Nevertheless, test design decisions still remain a challenge when applied in industry. Structural testing effectiveness is influenced by program code structure and the software development method used for designing and implementing industrial software-intensive systems. In the field of structural testing, the industrial approach toward different development methods and programming standards is studied insufficiently in the literature. In this thesis, we have found that applying structural testing on the actual generated source code from a Function Block Diagram (FBD) conforming to the IEC 61131-3 industrial standard is not effective. The FBD model is transformed to an FBD program code composed of almost exclusively assignments with Boolean expressions and function calls, which are not detected in code coverage analysis. In this thesis, we use the FBD model as a good candidate for measuring structural coverage, since it expresses the system behavior and it is the model from which the actual target code is generated. We propose a new automated method with potential application to our case study that evaluates the test suite based on structural coverage criteria. This leads to a shorter lifecycle with more effective structural testing for model-driven software development.
author Sarabi, Mahdi
spellingShingle Sarabi, Mahdi
Evaluation of Structural Testing Effectiveness in Industrial Model-driven Software Development
author_facet Sarabi, Mahdi
author_sort Sarabi, Mahdi
title Evaluation of Structural Testing Effectiveness in Industrial Model-driven Software Development
title_short Evaluation of Structural Testing Effectiveness in Industrial Model-driven Software Development
title_full Evaluation of Structural Testing Effectiveness in Industrial Model-driven Software Development
title_fullStr Evaluation of Structural Testing Effectiveness in Industrial Model-driven Software Development
title_full_unstemmed Evaluation of Structural Testing Effectiveness in Industrial Model-driven Software Development
title_sort evaluation of structural testing effectiveness in industrial model-driven software development
publisher Mälardalens högskola, Akademin för innovation, design och teknik
publishDate 2012
url http://urn.kb.se/resolve?urn=urn:nbn:se:mdh:diva-14904
work_keys_str_mv AT sarabimahdi evaluationofstructuraltestingeffectivenessinindustrialmodeldrivensoftwaredevelopment
_version_ 1716531657019752448