title: How to Ignore in MSTests
body: <p>I'm sorry this seems like such a basic question but I can't find the answer anywhere, including the MS Docs which talk <em>about</em> it but don't give an actual example.</p>
  
  <p>I just want to ignore some tests. Here are some things that don't seem to work:</p>
  
  <pre class="lang-cs prettyprint-override"><code>[TestMethod]
  [Ignore]
  public void TestStartAcquireEmpty()
  {
  
  }
  
  [TestMethod]
  [IgnoreAttribute]
  public void TestStartAcquireEmpty()
  {
  
  }
  
  [Ignore]
  [TestMethod]
  public void TestStartAcquireEmpty()
  {
  
  }
  
  [IgnoreAttribute]
  [TestMethod]
  public void TestStartAcquireEmpty()
  {
  
  }
  </code></pre>
  
  <p>If I use <code>[Ignore]</code> without <code>[TestMethod]</code> the test does disappear from the test explorer. But what I want is to get the yellow triangle in the test explorer. </p>