← Back to team overview

nunit-core team mailing list archive

[Bug 1061957] Re: Packaging problems

 

** Description changed:

  I'm retitling and expanding this bug to cover a number of issues in the
  package script.
  
  1. Handling of .NET 4.5 tests (see original description below)
  
  2. Missing scripts: None of the scripts needed to build or package NUnit
  under NAnt are included in the source package. This is due to the change
  in NUnit 2.6, whereby the nant scripts were moved to a sub-directory and
  shell scripts were added in the root.
  
- 3. Missing VS2012 solution
+ 3. Missing nuspec files - used for building the NuGet packages
  
- 4. Changes made to the samples are not reflected in the scripts, so
+ 4. Missing VS2012 solution
+ 
+ 5. Changes made to the samples are not reflected in the scripts, so
  samples do not build or package correctly.
  
  ORIGINAL 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.

-- 
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:
  Packaging problems

Status in NUnit V2 Test Framework:
  Triaged

Bug description:
  I'm retitling and expanding this bug to cover a number of issues in
  the package script.

  1. Handling of .NET 4.5 tests (see original description below)

  2. Missing scripts: None of the scripts needed to build or package
  NUnit under NAnt are included in the source package. This is due to
  the change in NUnit 2.6, whereby the nant scripts were moved to a sub-
  directory and shell scripts were added in the root.

  3. Missing nuspec files - used for building the NuGet packages

  4. Missing VS2012 solution

  5. Changes made to the samples are not reflected in the scripts, so
  samples do not build or package correctly.

  ORIGINAL 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


References