← Back to team overview

nunit-core team mailing list archive

[Bug 1092929] Re: Early termination of C# iterator block method

 

Charlie, I was able to get to nunit.org this afternoon and download the
test runner. As you suspected, the test succeeds with the NUnit GUI test
runner, which leads me to suspect ReSharper's test runner.

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

Title:
  Early termination of C# iterator block method

Status in NUnit V2 Test Framework:
  Incomplete

Bug description:
  I created a recursive function in C# using the yield return operator
  that outputs all permutations of the string of numbers "123456789".
  When I execute the code in an NUnit test, the test aborts about 1/3
  through the list of permutations and returns success. If I run the
  same method in a console application, it runs to completion.

  The code available is available at
  http://stackoverflow.com/questions/13979580/early-termination-of-
  recursive-iterator-block-method. I'm using NUnit 2.6.2.12296, executed
  by ReSharper 6. I do not have the NUnit test runner installed on the
  machine I discovered the issue, and I will update the bug report when
  I can try it directly against NUnit.

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


References