chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Hi,

Could somebody explain how to use typemock & dotTrace performance profiling. I've Typemock 5.4.5 & dottrace 3.1 installed. in the configuration I linked Typemock & DotTrace. What next? I need run tests and get performance profiling results
asked by tom3m (9.7k points)

10 Answers

0 votes
Hi Tom,

Basically what you should do is link the with dottrace 3.1 in the Configuration form and than run the tests.
You can see more details how to run with each profielr on the documentation page here.
answered by ohad (35.4k points)
0 votes
Just link and nothing more? Where then I can find profiling results? I've already seen link you gave me but it is not very usefull
answered by tom3m (9.7k points)
0 votes
Hi,

The usage of dotTrace after it's linked is similar to the way it's used without Isolator.

For example through dotTrace GUI:
1. Set the link in Isolator configuration
2. Start dotTrace GUI from windows start menu
3. Choose the program to start as your tests runner (e.g. nunit-console.exe)
4. Choose arguments to point to the tests assembly
5. Start the session and watch results

Please let me know if it helps.

Regards,
Elisha,
Typemock Support
answered by Elisha (12k points)
0 votes
What about Microsoft tests? I suppose I should choose MSTest?
So it actually means I cannot run tests from Visual Studio and should use DotTrace GUI to start tests. Is it correct?

PS:
Currently if I've typemock linked with DotTrace -> Java Script.NET compiler fails! As soon as I remove link to DotTrace it works fine.
answered by tom3m (9.7k points)
0 votes
Hi,

MSTest runs the same way, instead of executing nunit-console you can execute MSTest command line - http://msdn.microsoft.com/en-us/library/ms182489(VS.80).aspx.

dotTrace will show the results in the same way.

Regards,
Elisha,
Typemock Support
answered by Elisha (12k points)
0 votes
Trying profile using DotTrace 3.1. using following parameters:

1. Executable Path: C:Program FilesTypemockIsolator.4TMockRunner.exe

2. Arguments: -target 3.5 "C:Program FilesMicrosoft Visual Studio 9.0Common7IDEMSTest.exe" /runconfig:C:PROJECTSDEV_V15IntLocalTestRun.testrunconfig /resultsfile:C:PROJECTSDEV_V15IntTestResultsIntegrationTests.trx /testcontainer:C:PROJECTSDEV_V15IntssembliesConfirmit.CATI.IntegrationTests.dll

3. Working Folder: C:Program FilesTypemockIsolator.4

Typemock linked with DotTrace 3.1 Performance

After I press "Start Application" MSTest crashes with unhandled exception - StackOverflow...

So questions are:
1. What profilers typemock really works? (Again, nobody in our company !50 developers was able use typemock with external profiler)
2. How to make it working with DotTrace?

PS:
When typemock linked with DotTrace 3.1 Performace JavaScript.NET COMPILER CRASHES!

PPS:
DotTrace 3.1
Typemock 5.4.5
answered by tom3m (9.7k points)
0 votes
Another problem with DotTrace 3.1 profilers is that when Typemock linked to DotTrace 3.1 then executing tests just from visual studio as usually does not work. MSTest process crashes...
answered by tom3m (9.7k points)
0 votes
Tom,

I'm sorry about your integration experience :( it sounds like a set up issue to me. We'll try to recreate this locally, and may need more info, or a phone call - let's take this offline.

Thanks,
Doron
Typemock Support
answered by doron (17.2k points)
0 votes
Hi, actually still trying execute tests and still not able. What is actually crashes is VSTestHost.exe, not MSTest.

If needed you can contact me via skype: tom_mumba, mobile +375293793117 or MSN tom@ultersys.ru

We can even setup shared view session, so I'll show you everything
answered by tom3m (9.7k points)
0 votes
Hi Tom,

Try un-linking dottrace before running tests inside Visual Studio - otherwise Isolator will try to run DotTrace and cause a crash.
answered by dhelper (11.9k points)
...