← Back to team overview

nunit-core team mailing list archive

[Bug 1066393] [NEW] Unable to display source for testcases with an alternate name set

 

Public bug reported:

If a TestCase uses SetName() to change the display name of the test,
Visual Studio is not able to locate the source code, since the display
name is assumed to be the test name. We need the TestInfo objects
returned when tests are loaded and also embedded in results to containe
both the class name and the method name for any test. Once this is
available, the adapter code can be significantly simplified.

** Affects: nunit-vs-adapter
     Importance: Critical
     Assignee: Charlie Poole (charlie.poole)
         Status: Triaged

** Affects: nunitv2
     Importance: Critical
     Assignee: Charlie Poole (charlie.poole)
         Status: Triaged

** Changed in: nunit-vs-adapter
       Status: New => Triaged

** Changed in: nunit-vs-adapter
   Importance: Undecided => Critical

** Changed in: nunit-vs-adapter
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

** Changed in: nunit-vs-adapter
    Milestone: None => 0.93

** Also affects: nunitv2
   Importance: Undecided
       Status: New

** Changed in: nunitv2
       Status: New => Triaged

** Changed in: nunitv2
   Importance: Undecided => Critical

** Changed in: nunitv2
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

** Changed in: nunitv2
    Milestone: None => 2.6.2

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1066393

Title:
  Unable to display source for testcases with an alternate name set

Status in NUnit Test Adapter for Visual Studio:
  Triaged
Status in NUnit V2 Test Framework:
  Triaged

Bug description:
  If a TestCase uses SetName() to change the display name of the test,
  Visual Studio is not able to locate the source code, since the display
  name is assumed to be the test name. We need the TestInfo objects
  returned when tests are loaded and also embedded in results to
  containe both the class name and the method name for any test. Once
  this is available, the adapter code can be significantly simplified.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-vs-adapter/+bug/1066393/+subscriptions


Follow ups

References