Red Gate forums :: View topic - VS Studio Professional - Profiling a "test"
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

VS Studio Professional - Profiling a "test"

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Cumulus



Joined: 21 Jun 2011
Posts: 1

PostPosted: Tue Jun 21, 2011 3:59 pm    Post subject: VS Studio Professional - Profiling a "test" Reply with quote

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. Embarassed
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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6643

PostPosted: Tue Jun 21, 2011 4:31 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Laura Morley



Joined: 22 Jun 2011
Posts: 34
Location: Red Gate Software

PostPosted: Wed Jun 22, 2011 2:17 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group