testcaseattribute Questions
6
I've googled for JUnit test case, and it comes up with something that looks a lot more complicated to implement - where you have to create a new class that extends test case which you then call:
p...
Macaluso asked 29/12, 2010 at 12:35
2
I'm using NUnit and trying to implement tests for the following method:
It should accept two integers and returns two dimensional array.
So, header of my test looks like:
[TestCase(5, 1, new int[,...
Feoffee asked 18/4, 2015 at 18:51
2
I'm using the NUnit 2.5.3 TestCaseSource attribute and creating a factory to generate my tests. Something like this:
[Test, TestCaseSource(typeof(TestCaseFactories), "VariableString")]
public void...
Bifurcate asked 18/2, 2010 at 10:26
1
Solved
I have a unit-test that tests a variety of cases, like this:
public void Test1(Int32 a, Int32 b, Int32 c)
Let's say I want to create test-code without a loop, so I want to use TestCase to specif...
Howlond asked 23/10, 2009 at 8:37
1
© 2022 - 2024 — McMap. All rights reserved.