This post follows on from the recent work on grid events mentioned in the 'New Changes to Autogenerated Code 20 Sep 2012' post.
We have hesitated in the past to use the latest version of the SourceGrid because our code had rather been written around a specific version of the grid and when we tried a newer version we appeared to have new problems. However, since revising the template code that responds to grid events it has become possible to use the latest grid.
So I am just letting everyone know that there is now new documentation on the wiki about the Source Grid and there is a new section in that relating to testing. The idea is that if we change the templates in the future, or add functionality to the validation framework, we will have a standard documented set of tests that we can re-run to be sure that we have not introduced new bugs. Unfortunately these tests have to be run manually, but that is better than no tests at all!
The funny thing is that when I was writing the tests I included one for completeness that I was sure would work as it was a simple difference from another one which I knew worked fine. And, yes, you guessed it - I thought I should run all my documented tests myself before checking in the code and this new test was the one that failed!! (I had removed one line of code from the grid wrapper that I thought was no longer needed)
So the tests are useful!!
I should get the wiki page finished today and get the grid checked in. The URL is sourceforge.net/apps/mediawiki/ ... nd_testing I will add to this post when I have finished all the edits.