You can see that you are testing around and at the edges of your application where there are most likely to be errors. In this case there could be some confusion of the number of usable characters you can store which could cause errors in applications writing to your database.

Other tests where you would test saving a string of 20 characters and saving a string of 100 characters (say) should be done but these are going to be more stable.

So basiucally test the parameter. So if my db query took a parameter, test around that (GUID which is in wrong format, etc). But I guess the tests I wrote out above will still be good.
–
dotnetdevJan 17 '11 at 23:20

1

@dotnetdev - that's the idea and yes the tests you have are still good.
–
ChrisF♦Jan 17 '11 at 23:21