views:

27

answers:

1

What are some useful live templates for Resharper that you use on a daily basis?

A: 

I have a custom template for creating test methods that I use all the time.

[Test]
public void $TEST_NAME$() {$END$}

And also in conjunction with a custom file template for creating the test fixture.

using NBehave.Spec.NUnit;
using NUnit.Framework;
using Moq;

namespace $NAMESPACE$
{
    [TestFixture]
    public class $CLASS$ : TestBase
    {
        $END$
    }
}
JChristian

related questions