[Mono-list] System.XML and Unit Tests
Mon, 25 Feb 2002 22:58:37 -0800
> Another approach that we're taking with retroactive test writing is to
> write (and running) tests against the MS reference implementation, instead
> of writing them against existing Mono code. That can help you avoid just
> replicating the implementation code in the tests.
I'm not quite sure what you mean by this. I have project files locally (I'm
using VS.NET) that compile and run the XML tests against both Mono's and
Microsoft's System.XML.dll. Every now and then I run the tests against
Microsoft's to make sure I'm implementing the XML classes the same way that
I think they did. (In fact, just yesterday I guessed wrong on a certain
issue and now the tests against Microsoft's code are failing--I guess I
should run them more often ;-)
If that's what you mean then I think it's a great idea. It can also help
getting tests written first that you know your code should pass before you
write any code for Mono.