开发者

VS 2008, Profiling Multiple Tests

开发者 https://www.devze.com 2022-12-17 12:03 出处:网络
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

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

精彩评论

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

关注公众号