- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In order to prove that my test cases really exercise the majority of lines in a program element, I need to merge /LV (Line coverage) profiles. I've not been able to decipher the User Guide documentation on doing this - it is singularly lacking in practical examples and lacks detail on many of the options that have only cryptic explanations.
If someone out there has solved this problem, I'd appreciate a description of the approach used.
Thanks
If someone out there has solved this problem, I'd appreciate a description of the approach used.
Thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found the answer to my problem in MSDN Library for Visual Studio 6.0 by first searching for profiler and within that for merge. The article example translates to a batch file for three test cases as:
PREP /LV %1
PROFILE %1 %2 %3 %4 %5 ...
PREP /M %1
PROFILE %1 %2 %3 %4 %5 ...
PREP /M %1
PROFILE %1 %2 %3 %4 %5 ...
PREP /M %1
PLIST %1
For more or less test cases, just adjust the number of "PREP /M", "PROFILE" pairs.
Hope this helps someone else.
Steve Lionel
I'm starting a paper about using the profiler for in-house use and would like to send it to CVF News, if you think it would be of value to the user community. Let me know and I'll start through the "mother, may I" publication authorization loop. If you're not the person to ask, please redirect me.
John
PREP /LV %1
PROFILE %1 %2 %3 %4 %5 ...
PREP /M %1
PROFILE %1 %2 %3 %4 %5 ...
PREP /M %1
PROFILE %1 %2 %3 %4 %5 ...
PREP /M %1
PLIST %1
For more or less test cases, just adjust the number of "PREP /M", "PROFILE" pairs.
Hope this helps someone else.
Steve Lionel
I'm starting a paper about using the profiler for in-house use and would like to send it to CVF News, if you think it would be of value to the user community. Let me know and I'll start through the "mother, may I" publication authorization loop. If you're not the person to ask, please redirect me.
John

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page