title: MSTest: How to change name of TestMethod in TestExplorer?
body: <p>I am currently building a sample application where I use MS Test to implement a Scenario-based Given-When-Then-style UnitTest-project in VS2012. For this to work I have an abstract Scenario (base) class that has virtual Given()- and When()-methods that are run during the TestInitialization-phase. The results of the When()-method are then stored and can be verified using arbitrary TestMethods in any concrete Scenario-class, representing the 'Then'-statements. This all works perfectly.</p>
  
  <p>There's one more thing I'd like to control, though: the names of all the TestMethods as they are shown in the TestExplorer of Visual Studio. This is because many TestMethods have the same or similar names, but are executed in different scenario's (such as 'ExpectedExceptionIsThrown'). I would have thought such a thing would be supported by MS Test, perhaps by native support of the TestMethodAttribute like so:</p>
  
  <pre><code>[TestMethod("DisplayName here...")]
  public void ThenThisShouldHappen()
  {
    ...
  }
  </code></pre>
  
  <p>I've looked through the API of MS Test but can't seem to find any way to do this. Is this at all possible with MS Test?</p>