title: C# Test Assembly
body: <p>I am new to C# and am having a particularly difficult time figuring out how test assemblies work. This is my Solution directory (with a single project MyProject inside of it):</p>
  
  <pre><code>MySolution/MySolutionFile.sln     -- My Solution File
  MySolution/packages               -- My Packages Directory
  MySolution/MyProject/Properties   -- My Project Properties
  
  MySolution/MyProject/src                    -- My Source Code
                      /src/MyClass1.cs
                      /src/MyClass2.cs
  
  MySolution/MyProject/test                   -- My NUnit Tests
                      /test/MyClass1Test.cs
                      /test/MyClass2Test.cs
  
  MySolution/MyProject/TheMainClass.cs
  </code></pre>
  
  <p>Now I can run all the tests in the test folder from visual studio. However I want to run the tests from a CI system like TeamCity, in which case I need an assembly path. How do I generate just the test folder into an assembly to be run.</p>
  
  <p>Do I need to add to the main class a method that runs each test in the MySolution/test folder?</p>