← Back to team overview

nunit-core team mailing list archive

[Bug 1061957] [NEW] Include .NET 4.5 tests in package correctly

 

Public bug reported:

When packaging for release, the .NET 4.5 tests should be included.
However, if the user doesn't have .NET 4.5 installed, or isn't running
the tests under 4.5, they should not be run. This can't be done with an
attribute, since that would require loading the assembly, which will
fail if the user doesn't have .NET 4.0 or 4.5 installed.

There seem to be two choices: 
1) Keep these tests separatefrom the NUnitTests.nunit project file
2) Use a separate config when .NEt 4.5 is installed.

** Affects: nunitv2
     Importance: High
         Status: Triaged

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

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

** 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/1061957

Title:
  Include .NET 4.5 tests in package correctly

Status in NUnit V2 Test Framework:
  Triaged

Bug description:
  When packaging for release, the .NET 4.5 tests should be included.
  However, if the user doesn't have .NET 4.5 installed, or isn't running
  the tests under 4.5, they should not be run. This can't be done with
  an attribute, since that would require loading the assembly, which
  will fail if the user doesn't have .NET 4.0 or 4.5 installed.

  There seem to be two choices: 
  1) Keep these tests separatefrom the NUnitTests.nunit project file
  2) Use a separate config when .NEt 4.5 is installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1061957/+subscriptions


Follow ups

References