Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • 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
Iterative and Incremental Model-Based Development with xtUML: Attempting to Develop a C++ Unit Testing Framework (UTF)
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics.
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics.
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Iterativ och inkrementell modellbaserad utveckling med xtUML : Ett försök att utveckla ett C++ enhetstestningsramverk (Swedish)
Abstract [en]

This thesis explores the evolution and contemporary efficacy of unit testing frameworks (UTFs), particularly focusing on the significant impact of Kent Beck’s “Test-Driven Development” (TDD) example on modern UTF practices. Amid technological advancements and shifts in software development methodologies, this study assesses the translation of these traditional practices into model-based development (MBD) using executable and translatable unified modeling language (xtUML), a generic modeling language, and the evaluation of the challenges involved in this translation process.The research was conducted using a design science research (DSR) approach, facilitating the creation and iterative refinement of a new UTF named TypeUnit. This process involved an in-depth analysis of existing UTFs to determine their adherence to the features laid out by Beck. The study also thoroughly examined the difficulties of translating Python code from Beck’s TDD example into xtUML, refactoring the model to better fit the UTF domain, and further translating the refactored model back to C++ code. This highlighted the discrepancies in language features, data types, and the overall adaptation required to fit the xtUML modeling constraints.Key findings indicate that Beck’s principles continue to influence modern UTF designs, though the foundational nature of these features makes it challenging to directly attribute developments exclusively to his example. Moreover, the research of the study uncovered significant obstacles in model-to-code translation, particularly due to outdated documentation, the steep learning curve associated with xtUML, and the limited support from the small but existing community.This study contributes to the understanding of UTF evolution, provides insights into the practical use of MBD in software testing, and identifies critical areas for future research, particularly in enhancing the usability and integration of model-driven approaches in UTF development.

Place, publisher, year, edition, pages
2024. , p. 57
Keywords [en]
Domains, Model to code, Model-Based Development, Unit Testing, Unit Testing Framework, xtUML
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:hj:diva-66407OAI: oai:DiVA.org:hj-66407DiVA, id: diva2:1905266
Subject / course
JTH, Computer Engineering
Supervisors
Examiners
Available from: 2024-10-14 Created: 2024-10-12 Last updated: 2025-10-13Bibliographically approved

Open Access in DiVA

fulltext(907 kB)246 downloads
File information
File name FULLTEXT01.pdfFile size 907 kBChecksum SHA-512
9c72abfdaf26387f861c5977b56785c73c399fd22fe9de1cd46620c5c58c074156e9c98311bcb4b474dec5393fa39beb85b47d167cf5cce5b6bba31a22af2676
Type fulltextMimetype application/pdf

By organisation
JTH, Department of Computer Science and Informatics
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 252 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: 543 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • 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