Method | Description | |
---|---|---|
GenerateTests ( GeneratorRunnerData data ) : void |
Generates the tests.
|
|
GenerateTests ( string outputFolder, |
Creates a list of the methods for which the user wishes to generate test cases for and instantiates an instance of
|
|
TestProjectBuilder ( IBuildSystem sbs, IProjectGenerator projectGenerator, Func |
Initializes a new instance of the TestProjectBuilder class.
|
Method | Description | |
---|---|---|
OnCreateCodeGenerator ( |
Called when the Override this method to instantiate others than the standard generators. |
Method | Description | |
---|---|---|
CreateMethod ( string methodName, |
||
WriteTestFile ( string calculatedOutputDirectory, |
Writes the test file.
|
public GenerateTests ( GeneratorRunnerData data ) : void | ||
data | GeneratorRunnerData | The data that is necessary for test building. |
return | void |
public GenerateTests ( string outputFolder, |
||
outputFolder | string | The output folder. |
generatorType | Type of the code generator to use. | |
inputAssemblyPath | string | The input assembly path. |
mainNodes | IList |
The main nodes. |
referencedAssemblies | IList |
The list of referenced assemblies. |
return | void |
protected OnCreateCodeGenerator ( |
||
codeNamespace | The code namespace. | |
configuration | ICodeGeneratorParameters | The configuration. |
buildSystem | IBuildSystem | The build system. |
return | ICodeGenerator |
public TestProjectBuilder ( IBuildSystem sbs, IProjectGenerator projectGenerator, Func |
||
sbs | IBuildSystem | The system wide build system. |
projectGenerator | IProjectGenerator | The project generator. |
createGeneratorCallback | Func |
The callback to create new code
/// generators per test class |
logger | Action |
The logging method. |
return | System |