I have a situation where we have 2 distinct UUTs that require different 
input .csv files.  I can't just list both of the files using:

[CsvData(HasHeader = true, ResourcePath = "Data1.csv")]
[CsvData(HasHeader = true, ResourcePath = "Data1.csv")]
public void foo( int ii, int jj, int kk )
{
}

Because I have to physically change out the UUT between tests, and I also 
don't want to have to run the test on both UUTs.

I tried doing this:

string ResPath = "Data1.csv";
.
.
.
[CsvData(HasHeader = true, ResourcePath = ResPath)]
public void foo( int ii, int jj, int kk )
{
}

But that wouldn't build.

Just to warn you I'm functionally literate with C#, so there are many many 
things I don't know.  I've learned everything I know by looking at 
examples, and I haven't been able to find an example of what I'm trying to 
do above.

Thanks in advance for any help you can provide.

Rob

-- 
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mbunituser?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to