~ruther/emacs.d

ref: b3158f461393bb4885f61f36e787a0824d541ed9 emacs.d/snippets/csharp-mode/testfixture.yasnippet -rw-r--r-- 372 bytes
b3158f46 — Rutherther fix: do not freeze modeline on opening lsp-ui docs 2 months 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
        }
    }
}