Created
September 23, 2022 08:26
-
-
Save VisualBean/04ae77cf82a3715c5ed70466d4312543 to your computer and use it in GitHub Desktop.
A visual studio snippet for a quick test setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>XUnit unit test</Title> | |
<Author>Alexander Wichmann</Author> | |
<Description>Creates a unit test structure</Description> | |
<Shortcut>xtest</Shortcut> | |
</Header> | |
<Snippet> | |
<Code Language="CSharp"> | |
<![CDATA[ | |
[Fact] | |
public async Task Test() | |
{ | |
// 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