Click here to Skip to main content
15,893,594 members

Survey Results

Do you do Unit Testing?

Survey period: 22 Jun 2020 to 29 Jun 2020

We ran this 5 years ago. Let's see if things have changed.

OptionVotes% 
We unit test everywhere, always.9912.36
We test the most important and/or non-trivial units,15619.48
We unit test some pieces. Sometimes.27033.71
We never unit test,20225.22
What is unit testing?789.74



 
GeneralRe: YoUr COde MuSt Be UnIT teStEd... Pin
Sander Rossel22-Jun-20 3:22
professionalSander Rossel22-Jun-20 3:22 
GeneralRe: YoUr COde MuSt Be UnIT teStEd... Pin
W Balboos, GHB22-Jun-20 3:27
W Balboos, GHB22-Jun-20 3:27 
GeneralRe: YoUr COde MuSt Be UnIT teStEd... Pin
Sander Rossel22-Jun-20 3:37
professionalSander Rossel22-Jun-20 3:37 
GeneralRe: YoUr COde MuSt Be UnIT teStEd... Pin
W Balboos, GHB22-Jun-20 3:54
W Balboos, GHB22-Jun-20 3:54 
GeneralRe: YoUr COde MuSt Be UnIT teStEd... Pin
Sander Rossel22-Jun-20 4:47
professionalSander Rossel22-Jun-20 4:47 
GeneralRe: YoUr COde MuSt Be UnIT teStEd... Pin
W Balboos, GHB22-Jun-20 5:16
W Balboos, GHB22-Jun-20 5:16 
GeneralRe: YoUr COde MuSt Be UnIT teStEd... Pin
Mike (Prof. Chuck)23-Jun-20 19:29
professionalMike (Prof. Chuck)23-Jun-20 19:29 
Generalold / new code Pin
M.Vo.21-Jun-20 20:20
M.Vo.21-Jun-20 20:20 
When we write a new software I write unit tests at least for the essential parts and try to convince the team to do the same.
(And when I'm with the estimation team I add unit tests to the items to be calculated.)

But when we add something in old, grown software there's no way to get weeks of additional budget for unit tests.
And I don't see much sense in writing unit tests covering 0.1% of the code.
GeneralRe: old / new code Pin
W Balboos, GHB22-Jun-20 1:00
W Balboos, GHB22-Jun-20 1:00 
GeneralOne more option Pin
Amarnath S21-Jun-20 18:26
professionalAmarnath S21-Jun-20 18:26 
GeneralRe: One more option Pin
Ravi Bhavnani21-Jun-20 18:37
professionalRavi Bhavnani21-Jun-20 18:37 
GeneralRe: One more option Pin
Mike Hankey21-Jun-20 21:26
mveMike Hankey21-Jun-20 21:26 
GeneralRe: One more option Pin
Ravi Bhavnani22-Jun-20 20:20
professionalRavi Bhavnani22-Jun-20 20:20 
GeneralRe: One more option Pin
Mike Hankey23-Jun-20 2:22
mveMike Hankey23-Jun-20 2:22 
GeneralRe: One more option Pin
OriginalGriff21-Jun-20 21:45
mveOriginalGriff21-Jun-20 21:45 
GeneralRe: One more option Pin
Amarnath S21-Jun-20 22:36
professionalAmarnath S21-Jun-20 22:36 
GeneralRe: One more option Pin
Nemanja Trifunovic22-Jun-20 1:13
Nemanja Trifunovic22-Jun-20 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.