History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-35421
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Normal Normal
Assignee: Ilya Ryzhenkov
Reporter: Andrew Serebryansky
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Introduce Field: Initialize in [SetUp] method

Created: 09 Feb 07 11:51   Updated: 09 Feb 07 13:50
Component/s: None
Fix Version/s: None
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 349


 Description  « Hide
Introduce Field lets you specify where the field should be initialized. If the current editor file is an NUnit [TestFixture] class, it would be extremely helpful to have an additional option for this: initialize the field in the test [SetUp] method.

Ideally, this option would be selected by default whenever Introduce Field is used inside a test class. It could even replace the "Field declaration" and "Constructor(s)" options, as neither of those typically makes any sense for a test class.



 All   Comments   Work Log   Change History      Sort Order:
Ilya Ryzhenkov - 09 Feb 07 13:50
May be plugin sometime... Doesn't worth first-class feature