CSharpFeeds - All your C# feeds in one place.

Friday, October 19, 2007

I hate testing

by wwagner via Bill Wagner: C# Development Blog | MySmartChannels on 10/19/2007 2:43:20 AM

And that's why I write automated tests. I recently inherited some truly bad code. I'd post some examples, but the codebase is owned by a client, and the code is covered by an NDA. But, to give you an idea how bad it is, here are a few interesting statistics from when I first examined the code: Longest method: 1779 lines (that's not a typo. The same method has a cyclomatic complexity of 204).Number of public fields: 527And, most significantly: Number of unit tests: 0. This project ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us