dc.contributor.author |
Bandara, R |
|
dc.contributor.author |
Perera, I |
|
dc.contributor.editor |
Weeraddana, C |
|
dc.contributor.editor |
Edussooriya, CUS |
|
dc.contributor.editor |
Abeysooriya, RP |
|
dc.date.accessioned |
2022-08-03T08:41:46Z |
|
dc.date.available |
2022-08-03T08:41:46Z |
|
dc.date.issued |
2020-07 |
|
dc.identifier.citation |
******* |
en_US |
dc.identifier.uri |
http://dl.lib.uom.lk/handle/123/18502 |
|
dc.description.abstract |
In 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.language.iso |
en |
en_US |
dc.publisher |
IEEE |
en_US |
dc.relation.uri |
https://ieeexplore.ieee.org/document/9185378/ |
en_US |
dc.subject |
Google mock |
en_US |
dc.subject |
Google test |
en_US |
dc.subject |
unit test |
en_US |
dc.subject |
unit test code |
en_US |
dc.subject |
unit test specification |
en_US |
dc.title |
Unit test code generation tool support for lower level programming languages |
en_US |
dc.type |
Conference-Full-text |
en_US |
dc.identifier.faculty |
Engineering |
en_US |
dc.identifier.department |
Engineering Research Unit, University of Moratuwa |
en_US |
dc.identifier.year |
2020 |
en_US |
dc.identifier.conference |
Moratuwa Engineering Research Conference 2020 |
en_US |
dc.identifier.place |
Moratuwa, Sri Lanka |
en_US |
dc.identifier.pgnos |
pp. 632-637 |
en_US |
dc.identifier.proceeding |
Proceedings of Moratuwa Engineering Research Conference 2020 |
en_US |
dc.identifier.email |
rasika.17@cse.mrt.ac.lk |
en_US |
dc.identifier.email |
indika@cse.mrt.ac.lk |
en_US |
dc.identifier.doi |
10.1109/MERCon50084.2020.9185378 |
en_US |