nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #03372
[Bug 1092929] [NEW] Early termination of C# iterator block method
Public bug reported:
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.
** Affects: nunitv2
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
References