liu.seSearch for publications in DiVA
Change search
ReferencesLink to record
Permanent link

Direct link
Introducing Mock framework for Unit Test ina modeling environment
Linköping University, Department of Computer and Information Science, Software and Systems. Linköping University, The Institute of Technology.
2014 (English)Independent thesis Basic level (university diploma), 10,5 credits / 16 HE creditsStudent thesis
Abstract [en]

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.

Place, publisher, year, edition, pages
2014. , 30 p.
Keyword [en]
Mock, C++, Unit test, Software testing
National Category
Computer Engineering
URN: urn:nbn:se:liu:diva-105219ISRN: LIU-IDA/LITH-EX-G--14/004--SEOAI: diva2:704902
External cooperation
Subject / course
Computer Engineering
2014-02-28, Linköping, 10:15 (English)
Available from: 2014-03-25 Created: 2014-03-13 Last updated: 2014-03-25Bibliographically approved

Open Access in DiVA

fulltext(455 kB)754 downloads
File information
File name FULLTEXT01.pdfFile size 455 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Braaf, Joakim
By organisation
Software and SystemsThe Institute of Technology
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 754 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 326 hits
ReferencesLink to record
Permanent link

Direct link