From b3dddfb7bb02cf68a266da5317ff276d3cb40a84 Mon Sep 17 00:00:00 2001 From: Stefan Bradl Date: Mon, 22 Sep 2025 17:37:36 +0200 Subject: [PATCH] feat(csharp): add mstest snippets testc for creating a test class testm for creating a test method - --- snippets/csharp/csharp.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/snippets/csharp/csharp.json b/snippets/csharp/csharp.json index 119e30c0..7f7f01b3 100644 --- a/snippets/csharp/csharp.json +++ b/snippets/csharp/csharp.json @@ -520,5 +520,27 @@ "}" ], "description": "Create new class" + }, + "MSTest Test Class": { + "prefix": "tc", + "body": [ + "[TestClass]", + "public sealed class ${1:ClassName}Test", + "{", + "\t$0", + "}" + ], + "description": "create mstest test class" + }, + "MSTest Test Method": { + "prefix": "tm", + "body": [ + "[TestMethod]", + "public void ${1:TestName}()", + "{", + "\t$0", + "}" + ], + "description": "create mstest test method" } }