Skip to content

Commit e2d7c12

Browse files
Merge pull request #550 from OmniSharp/jchannon-patch-2
Added Fact xunit snippet
2 parents ad3ea98 + 81179b9 commit e2d7c12

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

snippets/csharp.json

+17
Original file line numberDiff line numberDiff line change
@@ -532,5 +532,22 @@
532532
"}"
533533
],
534534
"description": "constructor"
535+
},
536+
537+
"xUnit Test": {
538+
539+
"prefix": "fact",
540+
"body": [
541+
"[Fact]",
542+
"public void ${1:TestName}()",
543+
"{",
544+
"//Given",
545+
"",
546+
"//When",
547+
"",
548+
"//Then",
549+
"}${0}"
550+
],
551+
"description": "create xunit test method"
535552
}
536553
}

0 commit comments

Comments
 (0)