Click here to Skip to main content
15,913,055 members

Survey Results

Should developers test their own code?   [Edit]

Survey period: 13 Dec 2010 to 20 Dec 2010

Let the religious wars begin.

OptionVotes% 
Yes, developers should fully test their own code30429.72
Yes, for some tests (unit, load test etc), no for others (eg functional, acceptance tests)50048.88
Yes, if there is no one else who can test for them11210.95
No, all tests should be planned, written and executed by dedicated testers585.67
Let the customers test the code!333.23
Other161.56

View optional text answers (26 answers)


 
GeneralRe: How to test Pin
rmallamace13-Dec-10 15:37
rmallamace13-Dec-10 15:37 
GeneralRe: How to test Pin
RomTibi13-Dec-10 18:12
RomTibi13-Dec-10 18:12 
GeneralRe: How to test Pin
rmallamace13-Dec-10 18:23
rmallamace13-Dec-10 18:23 
GeneralRe: How to test Pin
RaviRanjanKr15-Dec-10 3:56
professionalRaviRanjanKr15-Dec-10 3:56 
GeneralRe: How to test Pin
RomTibi17-Dec-10 6:37
RomTibi17-Dec-10 6:37 
GeneralMessage Removed Pin
13-Dec-10 3:57
professionalN_tro_P13-Dec-10 3:57 
GeneralRe: Dedicated Testers will do a better job than a biased programmer Pin
Slacker00713-Dec-10 5:15
professionalSlacker00713-Dec-10 5:15 
GeneralRe: Dedicated Testers will do a better job than a biased programmer Pin
BigJohnT13-Dec-10 12:06
BigJohnT13-Dec-10 12:06 
I agree that there should be independent testing particularly at the functional and requirements level.

However, code is a work product and a developer should deliver a quality work product. A developer who takes ownership over what he delivers needs to be able to say, "My code functions as I intended".
A writer .e.g. might proof-read, spell check and grammar check their document prior to handing it over to someone else to proof-read it. No editor wants to receive a document that is full of typos.

I would also argue that regarding unit-test the developer is the best qualified to perform it. Once it becomes integrated or a system level test a dedicated tester will be the best choice.

I also believe in Test-Driven-Development and so when writing new code will often write the tests first and then the code.

The end result is that very few bugs are submitted against my code.

Our company also practices code-review. We are semi-agile.

I have worked on both sides - as a dedicated tester and as a developer. I have seen far better success in quality projects being released on time when developers do their own code verification coupled with independent validation as opposed to independent test alone.
GeneralOf course they should test their own code PinPopular
Paul Darlington13-Dec-10 2:52
Paul Darlington13-Dec-10 2:52 
GeneralRe: Of course they should test their own code Pin
James Kosin20-Dec-10 3:50
James Kosin20-Dec-10 3:50 
GeneralNo Can Do Pin
W Balboos, GHB13-Dec-10 2:25
W Balboos, GHB13-Dec-10 2:25 
GeneralRe: No Can Do Pin
Argyle4Ever13-Dec-10 3:55
Argyle4Ever13-Dec-10 3:55 
GeneralDevelopers and planned PinPopular
The Man from U.N.C.L.E.13-Dec-10 1:27
The Man from U.N.C.L.E.13-Dec-10 1:27 
GeneralRe: Developers and planned Pin
Corporal Agarn13-Dec-10 2:27
professionalCorporal Agarn13-Dec-10 2:27 
GeneralRe: Developers and planned Pin
jgehman13-Dec-10 5:34
jgehman13-Dec-10 5:34 
GeneralRe: Developers and planned Pin
Henry Minute14-Dec-10 3:00
Henry Minute14-Dec-10 3:00 
GeneralRe: Developers and planned Pin
RaviRanjanKr17-Dec-10 21:10
professionalRaviRanjanKr17-Dec-10 21:10 

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.