Re: how does "stop" work in Nunit GUI?
"Charlie Poole" <[email protected]> Wed, 9 Jul 2008 10:19:33 -0700
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <00f501c8e1e7$f64c0010$6401a8c0@ferrari> |
Hi David, We plan some improvements for "Stop" but it can never be perfect since threads don't actually have to stop! NUnit is actually cancelling your thread, which is pretty heavy handed and yet - as you have seen - it still may not stop. The /real/ solution for this, IMO, is to run tests that are difficult to stop in a separate process, which can be killed if necessary. This too is an enhancement we hope to add to the next release. Charlie > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of David Jeske > Sent: Wednesday, July 09, 2008 8:51 AM > To: [email protected] > Subject: [Nunit-users] how does "stop" work in Nunit GUI? > > What is "stop" doing in NUnit gui? I have a threaded program, > and anytime I try to use "stop" I have to go kill nunit.exe > before it returns to normalcy. Is there something I can do to > catch a stop in my code and get all the threads to stop? > better yet, is there something NUnit-gui can do to assure my > process is 100% killed? > > -------------------------------------------------------------- > ----------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source > project, along with a healthy diet, reduces your potential > for chronic lameness and boredom. Vote Now at > http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nunit-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nunit-users > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08