How can we help you today? How can we help you today?

VS Studio Professional - Profiling a "test"

Hi,

how can i profile a test from the test-view?
I am using VS-Studio Professional 2010 - with C#.

Using your competitors "dotTrace" i can just right-click the unit-test in the project-window and choose "profile unit test". (i hope mentioning a competitors product is not forbidden...)

However i am unable to find such an option in ANTS. :oops:
Since i much prefer the result-viewer of ANTS i would love to know a way to profile my unit-tests with ANTS.d

Any help is appreciated,
Markus
Cumulus
0

Comments

2 comments

  • Brian Donahue
    You can, but you have to understand the unit testing system. I swear there were some articles on our website about Nunit and MSTest, but I can't seem to find them.

    Basically you can profile nunit-gui as a desktop application or profile the command-line with the arguments necessary to load the DLL. It shouldn't be too difficult but obviously not as easy as right-clicking somewhere.
    Brian Donahue
    0
  • Laura Morley
    These might be the articles here on the Red Gate support center site that Brian was referring to:

    * Profiling unit tests using Nunit
    * Profiling tests in MSTest

    Does that help?
    Laura Morley
    0

Add comment

Please sign in to leave a comment.