One could think about a special syntax in the attribute string that would refer to a *static* method of the class:
[DataFixture]
[XmlDataProvider("M:GetSampleFile()", "//DataFixture/Employees")]
public class DataDrivenFixture : BaseDataTestFixture
{
[XmlDataProvider("M:GetSampleFile()", "//DataFixture/Employees")]
public class DataDrivenFixture : BaseDataTestFixture
{
public static string GetSampleFile()
{
// anything can happen here :)
}
On 5/18/06, Ranji <[EMAIL PROTECTED]> wrote:
Thank You guys for your prompt response ....
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- MbUnit XmlDataProvider attribute Ranji
- MbUnit Re: XmlDataProvider attribute David Strickland
- MbUnit Re: XmlDataProvider attribute Jay Flowers
- MbUnit Re: XmlDataProvider attribute David Strickland
- MbUnit Re: XmlDataProvider attribute Ranji
- MbUnit Re: XmlDataProvider attribute Jonathan de Halleux
- MbUnit Re: XmlDataProvider attri... Ranji
- MbUnit Re: XmlDataProvider a... Jonathan de Halleux
- MbUnit Re: XmlDataProvid... Jonathan de Halleux
- MbUnit Re: XmlDataProvid... Andrew Stopford
- MbUnit Re: XmlDataProvid... Ranji
- MbUnit Re: XmlDataProvid... Ranji
