Unit test code generation tool support for lower level programming languages

dc.contributor.authorBandara, R
dc.contributor.authorPerera, I
dc.contributor.editorWeeraddana, C
dc.contributor.editorEdussooriya, CUS
dc.contributor.editorAbeysooriya, RP
dc.date.accessioned2022-08-03T08:41:46Z
dc.date.available2022-08-03T08:41:46Z
dc.date.issued2020-07
dc.description.abstractIn software development lifecycle, the most likely sub-phase to be overlooked within the testing phase is unit testing. One of the main reasons for such negligence is the cost overhead of unit testing. Often, project managers and tech-leads, either ignore unit testing or carry out it in a shallow level taking the trade-off between carrying out unit testing and the cost it would incur. This research suggests a model-based unit testing specification and code generator based on model specifications. While formalisms such as the huge amount of unit test inputs, complex specifications and complex technologies exist can be used, one must consider the practical usability of the proposed solution in the industry. Generic spreadsheet-based tool is used to create the unit test specification; C++ unit test code generate for Google Test. It provides comprehensive unit test specifications, complete unit test codes and informative unit test reports. The tool is applied to five different industrial software projects with each having six target functions, (sum n=36 target functions). Results have been further validated by experienced expert architects. The evaluation confirmed that the proposed solution provides an efficient and rapid way to write error-free unit test cases and generate unit test code.en_US
dc.identifier.citation*******en_US
dc.identifier.conferenceMoratuwa Engineering Research Conference 2020en_US
dc.identifier.departmentEngineering Research Unit, University of Moratuwaen_US
dc.identifier.doi10.1109/MERCon50084.2020.9185378en_US
dc.identifier.emailrasika.17@cse.mrt.ac.lken_US
dc.identifier.emailindika@cse.mrt.ac.lken_US
dc.identifier.facultyEngineeringen_US
dc.identifier.pgnospp. 632-637en_US
dc.identifier.placeMoratuwa, Sri Lankaen_US
dc.identifier.proceedingProceedings of Moratuwa Engineering Research Conference 2020en_US
dc.identifier.urihttp://dl.lib.uom.lk/handle/123/18502
dc.identifier.year2020en_US
dc.language.isoenen_US
dc.publisherIEEEen_US
dc.relation.urihttps://ieeexplore.ieee.org/document/9185378/en_US
dc.subjectGoogle mocken_US
dc.subjectGoogle testen_US
dc.subjectunit testen_US
dc.subjectunit test codeen_US
dc.subjectunit test specificationen_US
dc.titleUnit test code generation tool support for lower level programming languagesen_US
dc.typeConference-Full-texten_US

Files

Collections