SwePub
Sök i LIBRIS databas

  Extended search

WFRF:(Sundmark Daniel)
 

Search: WFRF:(Sundmark Daniel) > Effects of Negative...

Effects of Negative Testing on TDD : An Industrial Experiment

Causevic, Adnan (author)
Mälardalens högskola,Inbyggda system,IS (Embedded Systems)
Shukla, Rakesh (author)
Infosys Ltd., India
Punnekkat, Sasikumar (author)
Mälardalens högskola,Inbyggda system,IS (Embedded Systems)
show more...
Sundmark, Daniel (author)
Mälardalens högskola,Inbyggda system,IS (Embedded Systems)
show less...
 (creator_code:org_t)
Berlin, Heidelberg : Springer, 2013
2013
English.
In: Agile Processes in Software Engineering and Extreme Programming. - Berlin, Heidelberg : Springer. - 9783642383137 - 9783642383144 ; , s. 91-105
  • Book chapter (peer-reviewed)
Abstract Subject headings
Close  
  • In our recent academic experiments, an existence of positive test bias, that is lack of negative test cases, was identified when a test driven development approach was used. At the same time, when defect detecting ability of individual test cases was calculated, it was noted that the probability of a negative test case to detect a defect was substantially higher than that of a positive test case. The goal of this study is to investigate the existence of positive test bias in test driven development within an industrial context, and measure defect detecting ability of both positive and negative test cases. An industrial experiment was conducted at Infosys Ltd. India, whose employees voluntarily signed up to participate in the study and were randomly assigned to groups utilizing test driven development, test driven development with negative testing, and test last development. Source code and test cases created by each participant during the study were collected and analysed. The collected data indicate a statistically significant difference between the number of positive and negative test cases created by industrial participants, confirming the existence of positive test bias. The difference in defect detecting ability of positive and negative test cases is also statistically significant. As a result, similarly to our previous academic study, 29% of all test cases were negative, contributing by revealing as much as 71% of all the defects found by all test cases. With this industrial experiment, we confirmed the existence of a positive test bias in an industrial context, as well as significantly higher defect detecting ability of negative test cases.

Publication and Content Type

ref (subject category)
kap (subject category)

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