c# - Class template in ReSharper 9 -
I am now trying R 9 EAP I have defined a test class live template
The first parameter is $ some $
, which is a type of reference that works well.
But the second parameter is $ member $
. If I substitute the position in # xml doctor comment, and there are some parameters in the member method, then the test method includes some trash in the name of the act statement is very optional, but I have the class and method name properly filled . I think R # 8 was not very smart here and just added a member's name here. How to complete this now? Which parameter macro is suitable for that?
/// & lt; Summary & gt; Test for & lt; Cref = "$ Some $" / & gt; & Lt; / Summary & gt; [Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute] Public Square $ Some $ Trial {/// & lt; Summary & gt; Test for & lt; See cref = "$ some $. $ Member $" /> & Lt; / Summary & gt; [Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute] Public Zero $ member $ test () {// ARRANGE $ END $ // Act new $ few $ () $ Member $ // ASSERT}}
Comments
Post a Comment