Thursday, January 27, 2011

Do you have any recommended File templates for resharper for VB.Net

The ones that stick out and make life usefull.

  • Here is one for a testClass with Nunit support.

    
        Imports Nunit.FrameWork
    
        Namespace $NAMESPACE$
        ''' 
        ''' A TestClass
        ''' 
        ''' 
         _
        Public Class $CLASSNAME$
    
    #Region " Setup and TearDown "
         ''' 
         ''' Sets up the Tests
         ''' 
         ''' 
          _
         Public Sub Setup()
    
             End Sub
    
         ''' 
         ''' Tears down the test. Is executed after the Test is Completed
         ''' 
         ''' 
          _
         Public Sub TearDown()
    
         End Sub      
    #End Region  
    
    #Region " Tests "
                    ''' 
         ''' A Test
         ''' 
         ''' 
                 _
                Public Sub $Test_Name$()
    
                End Sub
    #End Region
    
        End Class
    End Namespace
    From chrissie1

0 comments:

Post a Comment