2 Replies Last post: Feb 22, 2008 3:22 AM by Sergey Lipnevich  
Sergey Lipnevich Newbie 2 posts since
Feb 22, 2008
Currently Being Moderated

Feb 22, 2008 1:48 AM

Resharper and support for IDisposable test fixtures

Hi,

 

It seems that Resharper 3.1 is behind NUnit 2.4 in support of an automatic call to Dispose() for test fixtures implementing IDisposable, which I believe is the preferred way of doing clean-up as opposed to using TextFixtureTearDown. In order for our tests to clean after themselves we now have to decorate Dispose() with this attribute if we want Resharper to do the right thing. Could you please add this feature?

Thanks,

 

Sergey.

Guest
Currently Being Moderated
Feb 22, 2008 2:32 AM in response to: Sergey Lipnevich
Re: Resharper and support for IDisposable test fixtures

Hello Sergey,

 

This has been fixed in ReSharper 4 and I just backported it to ReSharper

3.  Check out latest nightly build.

 

Sincerely,

Ilya Ryzhenkov

 

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

 

 

IR> Hi,

IR>

IR> It seems that Resharper 3.1 is behind NUnit 2.4 in support of an

IR> automatic call to Dispose() for test fixtures implementing

IR> IDisposable, which I believe is the preferred way of doing clean-up

IR> as opposed to using TextFixtureTearDown. In order for our tests to

IR> clean after themselves we now have to decorate Dispose() with this

IR> attribute if we want Resharper to do the right thing. Could you

IR> please add this feature?

IR>

IR> Thanks,

IR>

IR> Sergey.

IR>

 

 

 

More Like This

  • Retrieving data ...