开发者

VS 2008, Profiling Multiple Tests

I have written a set of acceptance tests, and am trying to test the performance of a开发者_开发知识库 library with them. Unfortunately, I can only seem to select a single test and "Create Performance Session" ...which doesn't give a true picture of performance of the app as a whole.

Is there a way to get a performance report of all the tests at once?


If you have Visual Studio Team Test or Team Suite, you should be able to create a Load Test, which looks like a single test, but can encapsulate as many unit tests as you want.

Since the Load Test is only a single test, you may be able to create a Performance Session for it. However, if you just need some performance statistics, the Load Test should be all you need.


Create your own test runner. Should not be too difficult depending on the testing frame work you are using. You can then profile the test runner.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜