Return to search

Introducing Mock framework for Unit Test ina modeling environment

Testing is an important part in the software development process. Unit testsaim to test individual units in isolation. These units may have dependenciesto their surroundings that make the units hard to test in isolation withoutalso testing the surrounding units. A technique to help isolate these units isto replace the surrounding units with mock objects. This work investigateshow a C++ mock framework can be integrated into a modeling environ-ment’s unit test framework. Several mock frameworks are evaluated, and aproof of concept is created to show that integration is possible. Additionally,ideas for how to use mocks in a model environment are presented.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:liu-105219
Date January 2014
CreatorsBraaf, Joakim
PublisherLinköpings universitet, Programvara och system, Linköpings universitet, Tekniska högskolan
Source SetsDiVA Archive at Upsalla University
LanguageEnglish
Detected LanguageEnglish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess

Page generated in 0.0019 seconds