I like this idea, definitely put it in svn. Maybe under the Test/mainsoft directory until we start using it for the individual unit tests?
One thing, though, We shouldn't ever write unit tests that use direct string comparisons to validate generated html. The only real exception (that I can think of) to this would be in verifying the behavior of various output modes (xhtml, etc). There are unfortunately examples of the string comparison stuff all over the system.web unit tests, just waiting to be broken by an update to MS's System.Web that adds a space someplace. There's code in the System.Web unit tests to verify the structure of the generated html, and I believe the other mainsoft tests use a similar approach (first converting it to xml or something?) I've fixed bug #78256, so things ought to work with mono now. Nice hack. Chris _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list