Click here to Skip to main content

Survey Results

Do you use Unit Testing in development?   [Edit]

Survey period: 23 Apr 2007 to 29 Apr 2007

It's been said that Unit Testing allows you to play your own Devil's Advocate. But do you bother?

OptionVotes% 
We unit test every piece of functionality we can19621.26196 votes, 21.26%
We unit test the main or top level pieces of functionality11912.91119 votes, 12.91%
We unit test some pieces. Sometimes.22123.97221 votes, 23.97%
We never unit test21723.54217 votes, 23.54%
What is unit testing?16918.33169 votes, 18.33%



 
GeneralUnit Testing Not Equal To nUnit etc. PinmemberC# Genius23-Apr-07 5:12 
Just to make it clear, I don't think that the intention of the question is whether we unit test our code using a formal framework such as nUnit. A lot of times I find it simpler to use Debug.WriteLine / Console.WriteLine / Trace.WriteLine or to simply view the output on the screen to unit test my code that I know won't change much (or at all). Other times I may opt to use a formal unit test using nUnit where it makes sense. With this clarification, I believe that most people unit test their code and the stats here may not be correct due to people confusing unit testing with writing / executing formal tests.
 
Muhammad Haroon
Thoughtful discussions about software design, development, and management, using Microsoft and related tools and technologies.
GeneralRe: Unit Testing Not Equal To nUnit etc. PinmemberDaniel Monzert24-Apr-07 3:38 
GeneralRe: Unit Testing Not Equal To nUnit etc. PinmemberJohn M. Drescher24-Apr-07 4:05 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 10 Aug 2007
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid