Class CodeGenerator
Inheritance
CodeGenerator
Syntax
public static class CodeGenerator
Fields
NEW_LINE
Declaration
public static readonly string NEW_LINE
Field Value
Methods
CreateTestAssembly()
Create the assembly that allows UnityTests to be compiled.
Declaration
public static void CreateTestAssembly()
CreateTestAssemblyFolder()
Create the folder where tests will be stored.
Declaration
public static void CreateTestAssemblyFolder()
GenerateTestFromAutomatedRun(String, Boolean, Boolean, Boolean, String)
Declaration
public static List<(string recordingFileName, string cSharpScriptFileName, bool isStepFile)> GenerateTestFromAutomatedRun(string automatedRunFileName, bool ignoreDiffs, bool isSimpleTest, bool useSimplifiedDriverCode, string stepFileToOverwrite = "")
Parameters
Returns
GenerateTestFromRecording(String, Boolean, Boolean, Boolean, String)
Declaration
public static List<(string recordingFileName, string cSharpScriptFileName, bool isStepFile)> GenerateTestFromRecording(string recordingFileName, bool ignoreDiffs, bool isSimpleTest, bool useSimplifiedDriverCode, string stepFileToOverwrite = "")
Parameters
Returns
GetIndentationString(Int32)
Add spaces to a string based on requested indentiation tab count.
Declaration
public static string GetIndentationString(int tabCount)
Parameters
Type |
Name |
Description |
Int32 |
tabCount |
|
Returns