title: Make MSTest respect [Conditional()] attribute?
body: <p>I'm using VS2010, I have the following method call:</p>
  
  <pre><code>[Conditional("DEBUG")]
  public void VerboseLogging() { }
  
  public void DoSomething() {
      VerboseLogging();
      Foo();
      Bar();
  }
  </code></pre>
  
  <p>Then I have a unit test for the <code>DoSomething</code> method which checks that it emits proper logging.</p>
  
  <pre><code>[Conditional("DEBUG"), TestMethod()]
  public void EnsureVerboseLog() {
      DoSomething();
      VerifyVerboseLoggingCalled(); // &lt;-- fail in release builds since VerboseLogging() calls get eliminated.
  }
  </code></pre>
  
  <p>It seems that MSTest only sees <code>TestMethod</code> and executes it (generating failed test) even though I've marked it with <code>Conditional("DEBUG")</code> and compile it in release mode.</p>
  
  <p><strong>So, is there a way to exclude certain tests depending on compilation constant other than <code>#if</code>?</strong></p>