nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #03266
[Bug 1065462] Re: Failure on tests parameterized with long strings
** Changed in: nunitv2
Milestone: None => 2.6.3
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1065462
Title:
Failure on tests parameterized with long strings
Status in NUnit Test Adapter for Visual Studio:
Triaged
Status in NUnit V2 Test Framework:
Triaged
Bug description:
Having the following test
[TestCaseSource("SignBufferSamples")]
public void GetSignBuffer(KeyValuePair<int, string> sample) {}
the adapter fails with the following log:
------ Discover test started ------
Contents of string 'GetSignBuffer([2075, MjAxMjA5MTg0MDAuMDA3MUVVUlBlbnRlZ3l0ZXN0IGFkZHJlc3MxMzQ5MDk5NzgwNGNsYXNzaWZpZWRZVDI2NjEyMzkwNDEwMjAzMjE0M0JZVDI2NjEyMzkwNDEwMjAzMjE0M0JBQVJCREU1VzEwODExMTEyMjIyNTg4ODQ4LUVVUi0zMDMxLTAxLURPTjU4ODg0OC1VQUgtMzAzMS0wMS1ET05FVVJVU0Q1NTUxMDBDb3JudWNvcGlhIEZyZXNoIEdyb2Nlcmllc0FBUkVBTCBCQU5LIEFHLDE1LCBQQVVMSU5FTlNUUkFTU0UsV0lFU0JBREVOLEdFUk1BTllBQVJCREU1VzEwOEFBUkVBTCBCQU5LIEFHLDE1LCBQQVVMSU5FTlNUUkFTU0UsV0lFU0JBREVOLEdFUk1BTll0ZXN0IGRldGFpbHMgb2YgcGF5bWVudEZhbHNlRmFsc2UyNjY0ODQwNDQzMURvbmV0c2tUcnVlRmFsc2VUcnVlRmFsc2VUcnVl])' exceeds max of '449', string has been truncated.
Exception has been thrown by the target of an invocation.
========== Discover test finished: 3203 found (0:00:05.3175317) ==========
My test assembly is built with NUnit 2.6.0.12051. The issue is
reproduced no matter which .NET framework I target (3.5, 4.0, 4.5).
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-vs-adapter/+bug/1065462/+subscriptions