I can't make the test method created for each individual operation to work

Jul 24, 2008 at 12:08 PM
Hi,

I download this tool yesterday and it's great to create test class from the trace file. However, based on the word doc, I use the config file in the command and expect each of the DB operation will be created as inidividual test method, but seems only one test method is generated which calling other 273 private methods which then call to each of the procedure.

dbloadTestGen.exe DB_HomeAndWander DB_homeAndWander.trc SampleConfig.xml

How to set it up properly to enable the IncludeIndividualOperations to work?

Thanks

Coordinator
Jul 26, 2008 at 6:40 AM
Actually it is a bug I spotted myself recently. Would you mind posting it as an issue please? Thanks.
Jul 28, 2008 at 2:43 PM
Ok, I have posted it in issue tracker.

Currently my workaround is, commented out the actual test method, then do a find and replace in the cs class of private void to [TestMethod()] public void to each of the individual methods that contains each of the DB operation. Then can do load test on them, I have to set a think time in the load test config because I am not sure whether the recorded think time is available in the auto generated class and stub.
Coordinator
Aug 14, 2008 at 8:37 AM
I have posted a source code workaround a comment on the issue in the issue tracker.