Please use this identifier to cite or link to this item: http://bura.brunel.ac.uk/handle/2438/16116
Full metadata record
DC FieldValueLanguage
dc.contributor.authorTosun, A-
dc.contributor.authorAhmed, M-
dc.contributor.authorTurhan, B-
dc.contributor.authorJuristo, N-
dc.date.accessioned2018-04-19T15:59:50Z-
dc.date.available2018-04-19T15:59:50Z-
dc.date.issued2018-
dc.identifier.citationProceedings of the International Conference on Software and System Process (ICSSP 2018)en_US
dc.identifier.urihttp://bura.brunel.ac.uk/handle/2438/16116-
dc.description.abstractBackground: Writing unit tests is one of the primary activities in test-driven development. Yet, the existing reviews report few evidence supporting or refuting the effect of this development approach on test case quality. Lack of ability and skills of developers to produce sufficiently good test cases are also reported as limitations of applying test-driven development in industrial practice. Objective: We investigate the impact of test-driven development on the effectiveness of unit test cases compared to an incremental test last development in an industrial context. Method: We conducted an experiment in an industrial setting with 24 professionals. Professionals followed the two development approaches to implement the tasks. We measure unit test effectiveness in terms of mutation score. We also measure branch and method coverage of test suites to compare our results with the literature. Results: In terms of mutation score, we have found that the test cases written for a test-driven development task have a higher defect detection ability than test cases written for an incremental test-last development task. Subjects wrote test cases that cover more branches on a test-driven development task compared to the other task. However, test cases written for an incremental test-last development task cover more methods than those written for the second task. Conclusion: Our findings are different from previous studies conducted at academic settings. Professionals were able to perform more effective unit testing with test-driven development. Furthermore, we observe that the coverage measure preferred in academic studies reveal different aspects of a development approach. Our results need to be validated in larger industrial contexts.en_US
dc.description.sponsorshipIstanbul Technical University Scientific Research Projects (MGA-2017-40712), and the Academy of Finland (Decision No. 278354).en_US
dc.sourceInternational Conference on Software and System Process-
dc.sourceInternational Conference on Software and System Process-
dc.subjectTest-driven developmenten_US
dc.subjectUnit testingen_US
dc.subjectMutation scoreen_US
dc.subjectCode coverageen_US
dc.subjectEmpirical studyen_US
dc.titleOn the Effectiveness of Unit Tests in Test-driven Developmenten_US
dc.typeConference Paperen_US
pubs.publication-statusAccepted-
Appears in Collections:Dept of Computer Science Research Papers

Files in This Item:
File Description SizeFormat 
FullText.pdf601.75 kBAdobe PDFView/Open


Items in BURA are protected by copyright, with all rights reserved, unless otherwise indicated.