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
Dependency Injection frameworks: an improvement to testability ?
Umeå University, Faculty of Science and Technology, Department of Computing Science.
2015 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Testing is a crucial part of any software project. Its importance can be seen in the increasing amount of developer striving towards producing code with higher testability, thus being able to verify and validate the functionality of their systems. The design and structure of the code is thereby very important, to incorporate testability at a satisfying level. Dependency-Injection(DI) is a way of reversing the dependency flow between objects in a system, to make them more isolated and easier to test. As DI will help the developer to build code in a good objectoriented way by promoting thought through structure, this will lead to higher testability in the produced code.

This report gives a overview of what testability is, if it can be measured and if DI frameworks can be beneficial from a testability point of view. By drawing conclusions on previous studies and work done in this field, these questions have been answered. Also a system for calculating dependency and coupling between objects is also presented, and shows that the conceptual use of DI gives more testability. The paper concludes that the use of DI frameworks will be beneficial for a systems testability, although DI itself is the major factor and not the frameworks. However as the frameworks make the use of DI that much easier there will be a significant increase in testability with the use of them.

Place, publisher, year, edition, pages
2015. , 38 p.
Series
UMNAD, 1030
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:umu:diva-108379OAI: oai:DiVA.org:umu-108379DiVA: diva2:852739
External cooperation
Tieto Sweden
Educational program
Bachelor of Science Programme in Computing Science
Supervisors
Examiners
Available from: 2015-09-10 Created: 2015-09-10 Last updated: 2015-09-10Bibliographically approved

Open Access in DiVA

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

By organisation
Department of Computing Science
Engineering and Technology

Search outside of DiVA

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