by Andy Masters
10. June 2010 08:56
I've finally managed to dig out the install for this C# word game that I wrote back in 2003. It's now available on my downloads section for everyone to enjoy.
Wordblaster

by Andy Masters
27. May 2010 07:17
As TDD and unit testing becomes increasingly popular, the need to generate Test Cases and test data has grown.
It it is possible to do this yourself, however:
a) I don't have much imagination when it comes generating test data. This lack of variation is bad news for test coverage.
b) It takes time to think up examples.
c) Its easy to use you own and colleague's names etc for test data, as they are easy to recall. From a confidentially perspective this is something to avoid.
d) Using 'funny' test data might lighten your day, but unfortunately has an uncanny ability to turn up in live systems!
So enter google sets: http://labs.google.com/sets
In case you've not used it before, you give a few examples of things in the set that you want to generate
(e.g. Red, Green, Blue) and it generates you a much extended list of members of this set (Colours):
- red
- blue
- green
- black
- white
- brown
- pink
- yellow
- purple
- orange
- gray
This is great for generating test data. If you just want quick and dirty data, then just use google sets direct. However to take things one step further Google sets has an API - James Simmonds has written 'DataWang' that does this in a C# wrapper for you.
You could also use this approach to scrabble your confidential live database data into a 'mashed' version that is safe to distribute to vendors for support purposes.