Browse by Tags

All Tags » Code Blog (RSS)

Parsing a Solution File

There's a new challenge up at Code Blog . This time the tests are for something a little more real. The aim is to parse a Visual Studio SLN file. I admit to having a vested interest in some code to do this. I am sick to death of poluting my test code...
Posted by Jamie Cansdale | 4 comment(s)
Filed under:

New Test

There's a new set of unit tests over at Test Driven .NET . Thanks to Johan Danforth for being our first 'test driver'. Hopefully this one will show there are many ways to skin a cat. Once there are enough submissions up, I am hoping to graph them (maybe...
Posted by Jamie Cansdale | 1 comment(s)
Filed under:

Assembly References

I've added the ability to add assembly references when compiling with Code Blog . Something that threw me is the strong name key used to sign the 'System' and 'System.Web' assemblies are different! To make life easy for you I'm now using LoadWithPartialName...
Posted by Jamie Cansdale | 2 comment(s)
Filed under:

((ArrayList)list).Sort();

Within minutes of posting a link to Code Blog , someone submitted the following solution ... public IList Sort(IList list) { ((ArrayList)list).Sort(); return list; } This is certainly the simplest possible solution to the problem (in true XP style). But...

Code Blog

I've just uploaded a set of unit tests for a sorting algorithm. Anyone is welcome to flesh out the failing stup implementation and make the tests pass. You can compile the code and run the tests online . Once all tests pass you are free to give your submission...

Comment Spam

I may have just stumbled accross a solution for comment spam. You can comment , but only when it builds and all tests pass... ;o)
More Posts