Created
March 19, 2021 16:32
-
-
Save mu88/99bb3c4c3447a210b3c9c67470398e84 to your computer and use it in GitHub Desktop.
ReSharper Live Template
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
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace $Namespace$ | |
{ | |
[TestClass] | |
public class $TestClassName$ | |
{ | |
$END$ | |
} | |
} |
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
[Xunit.Fact] | |
public async Task $TestName$() | |
{ | |
// Arrange | |
var testee = new $TestType$(); | |
$END$ | |
// Act | |
// Assert | |
throw new System.NotImplementedException(); | |
} |
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
var stopwatch = System.Diagnostics.Stopwatch.StartNew(); | |
$SELECTION$ | |
stopwatch.Stop();$END$ |
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
var service = new MyCustomService(); | |
await service.ExecuteLongRunningProcessAsync(); |
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
var stopwatch = System.Diagnostics.Stopwatch.StartNew(); | |
var service = new MyCustomService(); | |
await service.ExecuteLongRunningProcessAsync(); | |
stopwatch.Stop(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment