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

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Investigation of Test-Driven Development based on Mock Objects for Non-OO Languages
Linköping University, Department of Computer and Information Science. Linköping University, The Institute of Technology.
2012 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

In traditional software development, bug detection or testing comes as an afterthought. However, bugs are difficult to detect in the later stages of software development that result in long debugging time. Usually, bugs are left out because of higher concentration on development effort, leaving lesser time for testing. Test-Driven Development (TDD) is a software development process that can reduce the debugging time by catching most of the bugs during development. The development is carried on in small and repeated steps based on test cases. However, TDD is designed to work for object-oriented languages. This thesis investigates the suitability of TDD for non-Object Oriented (OO) languages such as C. TDD can be used with C language with the help of stubbing concept. This thesis also evolves the concepts of stubs and mocks in TDD to be used with C to solve dependency related problems. Finally this thesis analyses some frameworks for TDD in C and provides the trade-offs between them. 

Place, publisher, year, edition, pages
2012. , 121 p.
Keyword [en]
Test-Driven Development, Test-Driven Design, TDD, Mocks, Stubs, Unit Testing, Extreme programming, Code Dependencies, TDD based frameworks, Unity, CppUTest, CMock.
National Category
Computer Systems
Identifiers
URN: urn:nbn:se:liu:diva-78643ISRN: LIU-IDA/LITH-EX-A—11/053--SEOAI: oai:DiVA.org:liu-78643DiVA: diva2:534312
External cooperation
company
Subject / course
Computer and information science at the Institute of Technology
Uppsok
Technology
Examiners
Available from: 2012-06-18 Created: 2012-06-15 Last updated: 2012-06-18Bibliographically approved

Open Access in DiVA

Master Thesis on TDD(681 kB)539 downloads
File information
File name FULLTEXT01.pdfFile size 681 kBChecksum SHA-512
b25008fa6daffcd7ef67097a82faa6bbe077c565a86dbd81d923ae656f374ef7fb4078c9375a9d2ef9e5c1d8ae43cfb69601641d06a3b5303bcd59b451b1b868
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Mudduluru, Sandhya
By organisation
Department of Computer and Information ScienceThe Institute of Technology
Computer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 539 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

urn-nbn

Altmetric score

urn-nbn
Total: 218 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf