i'm using vs2010's standart unit tests, for example, i want to get all information like used variables with their values, called functions, etc. in readable form, xml forexample. how can i do it?
+1
A:
You are looking for code coverage. Not sure if this built into the VS unit tests. I used to use NCover if I ever needed such a metric.
leppie
2010-10-27 07:19:37
How did you get code coverage from that? I'm impressed. VS2010 includes code coverage. http://blogs.objectsharp.com/cs/blogs/dave/archive/2009/10/27/code-coverage-in-vs2010.aspx
mlk
2010-10-29 12:06:42
A:
Which version of VS 2010 do you have? If you have Premium or Ultimate you can take a look at this: http://social.msdn.microsoft.com/Forums/en/vsunittest/thread/eb7f6c78-c4ea-4020-a22e-db0e43d4a167
Paw Baltzersen
2010-10-27 08:25:06
A:
You can get all functions calls and function parameters using Runtime Flow (developed by me).
Sergey Vlasov
2010-10-27 09:41:45
A:
right click on a test -> Create Performance Session.
That way you can profile your test. Using the Instrumentation option, you'll get: function call counts and timing.
eglasius
2010-10-27 18:07:46