CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Language: XML

Test-Assert-Fail template for Resharper

311 Views
Copy Code Show/Hide Line Numbers
<TemplatesExport family="Live Templates">
  <Template uid="9860a3ff-f597-476b-bb22-88e8c6d13244" shortcut="taf" description="Test with Assert.Fail" text="[Test]&#xD;&#xA;public void $Action$_$Scenario$_$Result$()&#xD;&#xA;{&#xD;&#xA;    Assert.Fail();&#xD;&#xA;}&#xD;&#xA;" reformat="True" shortenQualifiedReferences="True">
    <Context>
      <CSharpContext context="TypeMember" minimumLanguageVersion="2.0" />
    </Context>
    <Categories />
    <Variables>
      <Variable name="Action" expression="" initialRange="0" />
      <Variable name="Scenario" expression="" initialRange="0" />
      <Variable name="Result" expression="" initialRange="0" />
    </Variables>
    <CustomProperties />
  </Template>
</TemplatesExport>
by Andy Sherwood
  August 27, 2009 @ 9:54am
Tags:

Add a comment


Report Abuse
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate