F
foldface
Hi
I'm trying to unit test a winforms application using
nunitforms. To do this I don't use
Application.Run,
instead I use form1.Show(). To process any events that may
have gathered I use
Thread.Sleep(5000);
is there something better where I can say to the current thread, stop
in the middle of the method and process any outstanding events rather
than making up an arbitary time?
Ta
F
I'm trying to unit test a winforms application using
nunitforms. To do this I don't use
Application.Run,
instead I use form1.Show(). To process any events that may
have gathered I use
Thread.Sleep(5000);
is there something better where I can say to the current thread, stop
in the middle of the method and process any outstanding events rather
than making up an arbitary time?
Ta
F