You can apply any data source attribute to a test method parameter, test
fixture property or field.

So if [Column] isn't right for a particular case, then you can use [Factory]
or [CsvData] or any of the others.  :-)

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Mark Kharitonov
Sent: Sunday, August 09, 2009 12:07 AM
To: MbUnit.User
Subject: How to create a combinatorial test in MbUnit v3 using factories?


Hello.
In MbUnit v2 one can write a combinatorial test where the members of
cartesian multiplication are produced by factory methods, meaning they are
unknown at the compile time. For an example see here -
http://blog.dotnetwiki.org/CombinatorialTestInTheHeartOfMbUnit.aspx.

How can one achieve the same feat in v3? The Column attribute is not good,
because it seem to require compile time knowledge of the values to be
combined. So, how can one do it in v3?

Thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to