1
Vote

unable to generate test mothod for each operation

description

When use the config file in the command and set IncludeIndividualOperations to truee, seems DB operation is not been created as inidividual test method, the auto generated classes seems have no difference when set this value to true to false.

comments

robjarratt wrote Aug 14, 2008 at 7:35 AM

I will issue a fix when I do some more enhancements to the tool. In the meantime you can fix this yourself in the source code by going to line 152 in TraceFileProcessor.cs. There you will see the following line:

UnitTestGenerator utg = new UnitTestGenerator(scenarioName, scenarioName, scenarioName + "Tests", TestMethodMode.ScenarioMethodOnly, OperationTimerMode.IncludeOperationTimers);

You can either change the hard-coded constants to what you want, or pass through the values from the config parameter.

wrote Feb 14, 2013 at 2:29 AM