My favorites | Sign in
Project Logo
                
Search
for
Updated Jul 22, 2009 by RoryBecker
CR_GenerateTest  
Generates a stub test method for the method your caret is residing in.

Introduction

Generates a Test Project "<SourceProject>_Test" containing a Test Class "<SourceClass>_Test" containing a Test Method "<SourceMethod>_Test".

Details

So if you have


Public Class SomeClass
    Public Sub SomeMethod()
    End Sub 
End Class

... in a Project called "SomeProject"

Then activation will cause the generation of an additional project within the solution called "SomeProject_Test".

This project will contain a class...


Public Class SomeClass_Test
    Public Sub SomeMethod_Test()
    End Sub 
End Class

See also

CR_CreateTestMethod


Comment by valdimar.thor, Jul 24, 2009

This is a handy plugin but it generates all my tests in VB and not C#. what do I have to do to change this default behavior?


Sign in to add a comment
Hosted by Google Code