~ruther/emacs.d

ref: c611c344c59e5a55d6911c5d00b0159969fc5d53 emacs.d/snippets/csharp-mode/testfixture.yasnippet -rw-r--r-- 372 bytes
c611c344 — Rutherther Merge branch 'lsp-mode' 6 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# key: tf
# contributor: Jason Imison <jasonimison@gmail.com>
# name: testfixture
# --
using NUnit.Framework;
using Should;

namespace `(file-path-to-namespace)`
{
    [TestFixture]
    public class ${1:`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`}
    {
        [Test]
        public void Should_$2()
        {
            $0
        }
    }
}