Triple AAA Resharper Template Roy Osherove Style

Here is a simple git with my trusty XUnit AAA ReSharper template. This post is for my reference and to enable a reference point for the many inquires regarding this topic. To learn more how to leverage ReSharper templates Any Mehalick has a nice blog post, Fun with NUnit and ReSharper Templates. You can learn more from Roy Osherove guidance on The Art of Unit Testing, unit test naming standards, visit his blog and begin benefiting from his Unit Testing Review Guidelines.

XUnit Modified fact Template
1
2
3
4
5
6
7
8
[Xunit.FactAttribute]
public void $FactMethodName$_$Scenario$_$Expected$()
{
       // Arrange
       $END$
       // Action
       // Assert
}

References

ReSharper Templates

Comments