Show simple item record

dc.contributor.advisor Perera I
dc.contributor.author Bandara KMPDR
dc.date.accessioned 2020
dc.date.available 2020
dc.date.issued 2020
dc.identifier.uri http://dl.lib.uom.lk/handle/123/16492
dc.description.abstract In the software development life cycle, there are a few, well-known, major phases and their sub-phases. Those are, namely, requirement engineering, feasibility study, design, development, testing, deployment and maintenance. Within those, the most likely sub-phase to be overlooked is the unit testing, in the testing phase. One of the main reasons for such negligence is that the cost it takes for unit testing. This cost is in the aspect of the effort, the amount of human resources to be put for unit testing. Most of the time, the project managers and the other responsible personnel, trade-off between carrying out unit testing and the cost it would take, and, either, neglect unit testing or carry out unit testing lightly. In the case where carrying out unit testing lightly, it could be either writing trivial unit test code, or carrying out unit testing by debugging the code for various cases for functional units. In these cases, the code could not be tested enough at all. Or, there would not be any valid evidence to prove that a comprehensive unit testing has been carried out. It is important to have a very good balance between carrying out comprehensive unit testing, keeping solid evidence of unit testing and saving the cost it would incur for unit testing. Considering all the aspects mentioned above, this research suggests a spreadsheet format as a unit test specification and offers a unit test code generator tool to generate unit test code based on the said unit testing specification. This research has considered using Microsoft Excel as the spreadsheet software to create the unit test specification, as it is widely used and popular. The unit test code is generated for the C++ programming language, which does not have that much of good unit testing frameworks. And, the unit test code is for the emerging unit test framework, Google Test. The outcome of this research has been applied to five different industrial software system projects and six target functions of each of those projects, which ultimately sums up to 36 target functions. The results have been presented to an expert software architect and his judgement of the generated unit test code has been obtained. en_US
dc.language.iso en en_US
dc.subject COMPUTER SCIENCE – Dissertations en_US
dc.subject COMPUTER SCIENCE AND ENGINEERING - Dissertations en_US
dc.subject UNIT TESTING en_US
dc.subject AGITATOR SOFTWARE en_US
dc.subject JAVA en_US
dc.subject NATIONAL AERONAUTICS AND SPACE ADMINISTRATION SOFTWARE en_US
dc.title Unit test code generation tool for lower level programming languages en_US
dc.type Thesis-Full-text en_US
dc.identifier.faculty Engineering en_US
dc.identifier.degree MSc in Computer Science and Engineering en_US
dc.identifier.department Department of Computer Science and Engineering en_US
dc.date.accept 2020
dc.identifier.accno TH4293 en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record