title: C# Unit testing, using XML from a zip file
body: <p>I've got a class that takes a string for the path to an xml file and outputs an object. I want to test the class using NUnit with some pre generated test scripts.</p>
  
  <p>I have the scripts in a zip file and included in the project. I want to do something like this:</p>
  
  <pre><code>// Not sure how to do this
  List&lt;byte[]&gt; scripts = GetTheScriptsSomehow();
  
  foreach(var script in scripts )
  {
    var parsedScript = ScriptParser.Parse(script);
    Assert.AreEqual(parsedScript.Blah, "BLAH");
  }
  </code></pre>
  
  <p>The part I'm most concerned with is how to access the scripts that are zipped and part of the project.</p>
  
  <p>Thanks!</p>
  
  <p>Edit: To address some of the comments, the zip file is part of a unit test project, not the released codebase. It contains test scripts that should produce a known output that is testable. They're zipped because the scripts are rather large (100mb each)</p>