New question #87575 on NUnit Framework:
https://answers.launchpad.net/nunit-3.0/+question/87575
If i have the following:
[Test]
[TestCase(new[]{2,1,2.1})]
public void WithArray(params double [] prices)
{
}
It would be nice if NUnit could loop through the array and output it's contents
and produce something like the following:
TestCase 'NUnitBugs.Tests.SampleTests.WithArray(System.Double[]{2,1,2.1})'
failed: TearDown : NUnit.Framework.AssertionException :
Expected: 0.1m
But was: 1.1m
instead of:
TestCase 'NUnitBugs.Tests.SampleTests.WithArray(System.Double[])'
failed: TearDown : NUnit.Framework.AssertionException :
Expected: 0.1m
But was: 1.1m
thanks
cliff
--
You received this question notification because you are a member of
NUnit Core Developers, which is an answer contact for NUnit Framework.
_______________________________________________
Mailing list: https://launchpad.net/~nunit-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~nunit-core
More help : https://help.launchpad.net/ListHelp