Skip to content

Instantly share code, notes, and snippets.

@michal880
Last active August 1, 2019 14:51
Show Gist options
  • Save michal880/87257dff31175691d058c2cbfaeb2c90 to your computer and use it in GitHub Desktop.
Save michal880/87257dff31175691d058c2cbfaeb2c90 to your computer and use it in GitHub Desktop.
xUnit snippet for Arrange Act Assert blocks
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
<Title>Arrange-Act-Assert Block</Title>
<Shortcut>aaa</Shortcut>
<Description>Code snippet which generates test Arrange-Act-Assert block</Description>
<Author>Michal Rychlewicz</Author>
</Header>
<Snippet>
<Imports>
<Import>
<Namespace>Xunit</Namespace>
</Import>
</Imports>
<Code Language="csharp">
<![CDATA[//Arrange
//Act
//Assert
]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment