title: Prevent TestInitialize running for one TestMethod method
body: <p>I have a set of unit tests that require <code>TestInitialize</code> to run for them to work... however, there is one specific test that i'd love to be able to run without running <code>TestInitialize</code>. Is there a way to do that?</p>
  
  <p>It might look like this:</p>
  
  <pre><code>[TestClass]
  public class BingBangBoom
  {
      [TestInitialize]
      public void Setup()
      {
          // ...
      }
  
      [TestMethod]
      public void Bing()
      {
          // ...
      }
  
      [TestMethod]
      public void Bang()
      {
          // ...
      }
  
      [TestMethod(PreventInitialize)]
      public void Boom
      {
          // ...
      }
  }
  </code></pre>
  
  <p>No worries if not, I can come up with an alternative solution</p>
  
  <p><strong>Edit - RE DavidG:</strong> </p>
  
  <p>It seems a shame to have this:</p>
  
  <pre><code>[TestClass]
  public class BingBangBoom
  {
      [TestInitialize]
      public void Setup()
      {
          // ...
      }
  
      // 10 very related methods
  }
  
  [TestClass]
  public class BingBangBoom2
  {
      // 1 method, even though it's entirely related to BingBangBoomin'
  }
  </code></pre>
  
  <p>I guess it is what it is.</p>