ananthoju / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

ForEachTest attribute's deserialization feature for data driven testing using Xml data source in v3 #690

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was reading about data driven testing using mbunit from this
article. 
http://blog.benhall.me.uk/2007/04/mbunit-datafixture-data-driven-unit.html

I am using v3 of mbunit now and the attributes used for DataDriven
testing are not applicable in V3 as per the release notes for V3.
Using this article of yours 
http://blog.bits-in-motion.com/2009/03/announcing-gallio-and-mbunit-v306.html,
I was able to do Data Driven testing using xml data source. But I have
to use [Bind("price")] with each parameter. 

In v2, there was a way to specify the datatype of a class, deserialized to 
contain the xml data, in the ForEachTest attribute. And doing so we can just 
pass the object of the class to the test method as a parameter. 

Can we have the similar feature in v3?

Original issue reported on code.google.com by stulik...@gmail.com on 23 Jul 2010 at 5:57

GoogleCodeExporter commented 9 years ago

Original comment by Yann.Tre...@gmail.com on 23 Jul 2010 at 6:22

GoogleCodeExporter commented 9 years ago

Original comment by Yann.Tre...@gmail.com on 14 Jun 2011 at 5:53