visual studio 2008 - How to profile unit tests with MSTest using dotTrace 4.0, ReSharper 5.1 and VS2008? -


i trying profile single unit test (the test passes) using dottrace 4.0. seems dottrace profiles resharper's test runner instead of profiling test itself.

i find answer jetbrains dev team regarding issue dottrace 3.1: seems mstest creates new process running tests, , known limitation of dottrace 3.1 not handle behaviour.

this behaviour of mstest can inhibited using /noisolation option in command line, cannot done within ide.

this page here: http://confluence.jetbrains.net/display/netprof/profiling+unit+tests+with+dottrace+4.0 tells me using dottrace 4.0 , resharper 5.0, should work out-of-the box.

which not.

so tried run test standalone ui of dottrace explained in above link, trick limitations:

  • the described method runs tests within specified dll. arguments used launch test maybe tuned run 1 specific test, seems lot of trouble running 1 tiny ut.
  • it seems source code not attached session, takes more time correct.

i went through vs options, resharper options, .testrunconfig options, without luck. has solved before?

actually there option in resharper had not seen: resharper > options > tools > unit testing > mstest > use test run configuration when set default runs fine.

something wrong in test configuration after all. not know wrong, since difference default have deployment enabled few xml files used test project not using right now. , not understand either how relates problem.

anyway, since works this...


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -