Yes, it's possible to combine multiple sources off data but in your case there
is no data for 'Combinatorial' to operate on.
CombinatorialAttribute is one of several attributes that tell NUnit
how to combine
individual arguments specified as an attribute on one of the method parameters.
In fact it's the default, so is not actually needed except or documentary
purposes.
TestCaseSource attribute applies to the test method and gives a complete
test case with all needed arguments. It has no interaction with Combinatorial.
If you want all combinations of several possible arguments, then you need
to specify the values on each method parameter, for example, like this...
[Test]
public void SimpleTextFilterTest(
[ValueSource("xxxx")] TestPaarString sBaseString,
[ValueSource("yyyy")] string sFilterEntity)
{ ...
Charlie
> --
> You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group.
> To post to this group, send email to nunit-...@googlegroups.com.
> To unsubscribe from this group, send email to nunit-discus...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nunit-discuss?hl=en.
>
>
Hi Charlie,
I got it, thanks!
but in NUnit GUI I have no values written but in this case just tests
with allways the same name:
SimpleTextFilterTest(namespace.testClassName+TestPaarString,
System.String[])
repeated combinatorical number of times.
Why parameter values are not displayed ?
Charlie
Charlie