SwePub
Sök i LIBRIS databas

  Extended search

L773:9781849195416
 

Search: L773:9781849195416 > Test Case Quality i...

  • Causevic, AdnanMälardalens högskola,Akademin för innovation, design och teknik,IS (author)

Test Case Quality in Test Driven Development: A Study Design and a Pilot Experiment

  • Article/chapterEnglish2012

Publisher, publication year, extent ...

  • IET,2012
  • printrdacarrier

Numbers

  • LIBRIS-ID:oai:DiVA.org:mdh-17256
  • https://urn.kb.se/resolve?urn=urn:nbn:se:mdh:diva-17256URI
  • https://doi.org/10.1049/ic.2012.0029DOI

Supplementary language notes

  • Language:English
  • Summary in:English

Part of subdatabase

Classification

  • Subject category:ref swepub-contenttype
  • Subject category:kon swepub-publicationtype

Notes

  • Background: Test driven development, as a side-effect of developing software, will produce a set of accompanied test cases which can protect implemented features during code refactoring. However, recent research results point out that successful adoption of test driven development might be limited by the testing skills of developers using it. Aim: Main goal of this paper is to investigate if there is a difference between the quality of test cases created while using test-first and test-last approaches. Additional goal of this paper is to measure the code quality produced using test-first and test-last approaches. Method: A pilot study was conducted during the master level course on Software Verification & Validation at Mälardalen University. Students were working individually on the problem implementation by being randomly assigned to a test-first or a test-last (control) group. Source code and test cases created by each participant during the study, as well as their answers on a survey questionnaire after the study, were collected and analysed. The quality of the test cases is analysed from three perspectives: (i) code coverage, (ii) mutation score and (iii) the total number of failing assertions. Results: The total number of test cases with failing assertions (test cases revealing an error in the code) was nearly the same for both test-first and test-last groups. This can be interpreted as "test cases created by test-first developers were as good as (or as bad as) test cases created by test-last developers". On the contrary, solutions created by test-first developers had, on average, 27% less failing assertions when compared to solutions created by the test-last group. Conclusions: Though the study provided some interesting observations, it needs to be conducted as a fully controlled experiment with a higher number of participants in order to validate statistical significance of the presented results.

Added entries (persons, corporate bodies, meetings, titles ...)

  • Sundmark, DanielMälardalens högskola,Akademin för innovation, design och teknik,IS(Swepub:mdh)dsk01 (author)
  • Punnekkat, SasikumarMälardalens högskola,Akademin för innovation, design och teknik,IS(Swepub:mdh)spt01 (author)
  • Mälardalens högskolaAkademin för innovation, design och teknik (creator_code:org_t)

Related titles

  • In:EASE 2012, Proceedings: IET, s. 223-2279781849195416

Internet link

Find in a library

To the university's database

Search outside SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Close

Copy and save the link in order to return to this view