Project
ReSharper
Priority
Normal
Type
Feature
Fix versions
No Fix versions
State
Won't fix
Assignee
Ilya Ryzhenkov
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Andrew Serebryansky
    4 years ago (09 Feb 2007 12:51)
  • Updated by   Andrew Serebryansky
    4 years ago (09 Feb 2007 14:50)
  • Jira: RSRP-35421
    (history, comments)
 
RSRP-35421 Introduce Field: Initialize in [SetUp] method
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
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.

Issue was closed
Comments (1)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Ilya Ryzhenkov
  Ilya Ryzhenkov
09 Feb 2007 14:50
4 years ago
May be plugin sometime... Doesn't worth first-class feature