Geeks With Blogs

News

This blog has moved to ericnelson.wordpress.com

 Subscribe in a reader

Add to Google Reader or Homepage


Links
View my teams slideshare
These postings are provided "AS IS" with no warranties, and confer no rights.



IUpdateable has moved to ericnelson.wordpress.com Please visit http://ericnelson.wordpress.com

[From a suggestion by Ian Cooper]

There are many different approaches to unit testing software, from manual testing to Test Driven Development. In many organisations the developer of the code will unit test their own code, however in some organisations a unit test will always be created and performed by a second developer or a full time tester.

What approach do you commonly follow?

Posted on Thursday, September 10, 2009 10:02 AM Poll/Survey , UK | Back to top


Comments on this post: UK MSDN Flash Poll for Sept 16th 2009: How do you do Unit Testing?

# re: UK MSDN Flash Poll for Sept 16th 2009: How do you do Unit Testing?
Requesting Gravatar...
What's the difference between 1 and 2 I'm not clear...
Left by Mike G on Sep 16, 2009 3:36 PM

# re: UK MSDN Flash Poll for Sept 16th 2009: How do you do Unit Testing?
Requesting Gravatar...
In brief: manual is sitting at the pc testing out sw by using it - type in data, check results etc. Automated means you write test code to "drive" the sw. The test code expects certain results and checks the actual results match. The links have more background.
Left by ericnel@hotmail.com on Sep 16, 2009 3:53 PM

# re: UK MSDN Flash Poll for Sept 16th 2009: How do you do Unit Testing?
Requesting Gravatar...
Ahh I take it 1 should read
"Mainly Manual testing of the code" rather than
"Mainly Manual **unit** testing of the code"
??
Left by Mike G on Sep 16, 2009 4:23 PM

# re: UK MSDN Flash Poll for Sept 16th 2009: How do you do Unit Testing?
Requesting Gravatar...
I'd read 1 as manually running your tests, whilst 2 as having a CI process in play that automated the running of tests.

Be interesting to see the results of the poll. I'd estimate that at least 25% of the 'senior developer' contractors I interview can't write a simple unit test, and at least 50% have no notion of mocking or how to isolate code (DI, IoC). Often this is despite putting unit testing experience on their cv's.
Left by Neil R on Sep 17, 2009 7:39 PM

Your comment:
 (will show your gravatar)


Copyright © Eric Nelson | Powered by: GeeksWithBlogs.net | Join free