Where are your tests?

I just spend a couple of painful hours trying to add Alex Gorbachev’s syntax highlighter to DotNetBlogEngine. I’m thinking now that if it had some useful tests this would have been a lot easier. My confidence has been shaken somewhat after looking at the source code. It’s a shame that an open source .Net project that has gained such widespread acceptance lacks a good suite of unit tests. Unfortunately attempting to retrofit the existing codebase with tests at this point could be a very painstaking exercise.

Just for the record to add the scripts and the style sheets needed you have to some hacking in BlogBasePage.cs.


Comments are closed

Search

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012