I'm curious if it is possible to pass local variables as arguments in a TestCase using the NUnit Framework.
Here is an example:
public XDocument config = XDocument.Load(Constants.configFile);
[Test(config)]
public void TestMethod(XDocument xml)
{
...
}
Is there any simple solution how I can make this work?