NUnit 2.5.0.9122 support?

Topics: User Forum
May 18, 2009 at 4:36 PM

When do you plan to support NUnit 2.5.0.9122, the official release version of NUnit? 

When I try to invoke any of my NUnit tests from a sample project, they fail with the following error message that points to a bad StringBuilder.AppendFormat() call within NUnitForVSTS.NUnitHandling.NUnitTestExecuter:

vstesthost.exe Error: 0 : Unit Test Executor threw exception: System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at NUnitForVSTS.NUnitHandling.NUnitTestExecuter.GetValidationError(String methodType, ValidationResult result)
   at NUnitForVSTS.NUnitHandling.NUnitTestExecuter.GetAssemblyInfo(Assembly assembly)
   at NUnitForVSTS.NUnitHandling.NUnitTestExecuter.GetTypeInfo(Type type)
   at NUnitForVSTS.NUnitHandling.NUnitTestExecuter.ResolveMethods()
   at NUnitForVSTS.NUnitHandling.NUnitTestExecuter.Execute(TestResult result, NUnitTestRunner runner)
vstesthost.exe Error: 0 : Unit Test Adapter threw exception: System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at NUnitForVSTS.NUnitHandling.NUnitTestExecuter.GetValidationError(String methodType, ValidationResult result)
   at NUnitForVSTS.NUnitHandling.NUnitTestExecuter.GetAssemblyInfo(Assembly assembly)
   at NUnitForVSTS.NUnitHandling.NUnitTestExecuter.GetTypeInfo(Type type)
   at NUnitForVSTS.NUnitHandling.NUnitTestExecuter.ResolveMethods()
   at NUnitForVSTS.NUnitHandling.NUnitTestExecuter.Execute(TestResult result, NUnitTestRunner runner)
   at NUnitForVSTS.NUnitHandling.NUnitTestRunner.ExecuteSingleTest(TestResult result, INUnitTestElement test)
   at NUnitForVSTS.NUnitHandling.NUnitTestRunner.Run(INUnitTestElement test, TestResult result)

Coordinator
Jul 23, 2009 at 8:05 PM

It took some while, but the latest release should be NUnit-2.5.1.9189 compatible (the latest nunit release).