[Mono-winforms-list] [PATCH] Patch for System.Windows.Forms.Application to match MSDN specifications for Application Data
Andreia Gaita
shana.ufie at gmail.com
Wed Oct 31 10:33:29 EDT 2007
On 10/31/07, Justin Cherniak <justin.cherniak at gmail.com> wrote:
> Let me ask, is there any documentation on writing tests, I'm a little
> unclear on how/where to do this?
Take a look at the Managed.Windows.Forms/Test/System.Windows.Forms
directory, it has all the unit tests for mwf. You basically set
properties and Assert() them, look at ButtonTest, for instance, to see
extensive property testing. ApplicationTest has the Application type
tests, so your tests should go in there. Just create a new public void
Method() marked with [Test], and add your tests. You can then run them
with make run-test on MWF.
andreia gaita
More information about the Mono-winforms-list
mailing list