Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-332

Ability to run nunit tests with a different framework version than the nunit-console

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4-incubating
    • 1.5.0-incubating
    • None
    • None

    Description

      Unhandled Exception:
      System.ArgumentException: Requested value '2.0.50727' was not found.
      at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
      at NUnit.Core.RuntimeFramework.Parse(String s)
      at NUnit.ConsoleRunner.ConsoleUi.MakeTestPackage(ConsoleOptions options)
      at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
      at NUnit.ConsoleRunner.Runner.Main(String[] args)
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] NPANDAY-1100-007: There are test failures.

      NPANDAY-040-001: Could not execute: Command = CMD.EXE /X /C nunit-console C:\Projects\apache-npanday-incubator\trunk\dotnet\assemblies\NPanday.Model.Settings\target/test-assemblies\NPanday.Model.Settings-test.dll /xml:C:\Projects\apache-npanday-incubator\trunk\dotnet\assemblies\NPanday.Model.Setting
      s\target\nunit-reports\TEST-NPanday.Model.Settings-1.2.2-incubating-SNAPSHOT.xml /output:C:\Projects\apache-npanday-incubator\trunk\dotnet\assemblies\NPanday.Model.Settings\target\nunit-reports\TEST-NPanday.Model.Settings-1.2.2-incubating-SNAPSHOT-RESULTS.txt /err:C:\Projects\apache-npanday-incubato
      r\trunk\dotnet\assemblies\NPanday.Model.Settings\target\nunit-reports\TEST-NPanday.Model.Settings-1.2.2-incubating-SNAPSHOT-ERROR.txt /labels /framework:2.0.50727, Result = -100

      Attachments

        Activity

          People

            brett Brett Porter
            jocaba Josimpson Ocaba
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: