[Mono-list] System.XML and Unit Tests

bucky@phantom.keystreams.com bucky@phantom.keystreams.com
Mon, 25 Feb 2002 20:19:25 -0800 (PST)


On Mon, 25 Feb 2002, Jason Diamond wrote:

> There's a lot of existing code for these classes but not a single test. So I
> wasn't too surprised to find them was riddled with bugs. I'm going to start
> adding tests and then refactoring as needed.
> 
> I'm really stoked that Mono has tests as part of its build process but that
> doesn't do any good if we aren't writing them.

Jason (and everybody),

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.

--David