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