[Mono-devel-list] Upgrading of NUnit 1.x tests

Sebastien Pouliot spouliot at videotron.ca
Mon Mar 10 21:54:06 EST 2003


Hello Martin,

I've updated the security assemblies to NUnit 2 so I'll share my (limited)
knowledge.

> Should I also just remove AllTests.cs?

Yes (well in most case). Some unit test assemblies may not compile correctly
if any static methods has been defined (like I did to compare buffers in the
crypto unit tests). Anyway if it compile without the AllTest.cs then it is
not required in NUnit2 (and should be removed).

> Microsoft.VisualBasic_test.build seems to use the old unit testing
> framework, should it also be removed?

NO!!! ;-)
Please update the .build file so that the unit tests will still works under
Windows (which use NAnt to build them). You can have a look at
corlib_test.build (or any other updated test suite).

BTW I had a quick look into the *Test.cs.diff files and they look ok to me
(as long as the result still works without errors on MS CLR). Maybe Nick can
give you more comments on them and/or better answers to your questions.

Sebastien Pouliot
Security Architect, Motus Technologies, http://www.motus.com/
work: spouliot at motus.com
home: spouliot at videotron.ca





More information about the Mono-devel-list mailing list