~ruther/emacs.d

ref: 72e2dbc2b3fb763b044253d93e46ee5d817d21dc emacs.d/snippets/csharp-mode/testfixture.yasnippet -rw-r--r-- 372 bytes
72e2dbc2 — Rutherther feat: add snippets for chsarp a month 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
        }
    }
}