VS 2008, Profiling Multiple Tests

I wrote a set of acceptance tests and try to test the library with them. Unfortunately, I can only select one test and "Create a performance session" ... which does not give a real picture of the performance of the application as a whole.

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

+4
source share
2 answers

If you have Visual Studio Team Test or Team Suite, you can create a load test that looks like one test, but can encapsulate as many unit tests as possible.

Since the load test is just one test, you can create a performance session for it. However, if you just need some kind of performance statistics, a load test should be all you need.

+7
source

Create your own test runner. It should not be too difficult depending on the work you use with the testing framework. Then you can profile the test runner.

0
source

Source: https://habr.com/ru/post/1299015/


All Articles