~ruther/emacs.d

ref: f4d9af9182a56f14aa4a3fdba19730cb0d0660d1 emacs.d/snippets/csharp-mode/testfixture.yasnippet -rw-r--r-- 372 bytes
f4d9af91 — Rutherther fix: do not enclose parentheses automatically in rust 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
        }
    }
}