Performance testing Multiple unit tests RRS feed

  • Question

  • I understand that you can create a performance session on a single unit test by right-clicking on the unit test and creating a new session.  But how do you run a performance test over ALL (or a series) of unit tests?  Right clicking on each of hundreds (or thousands) of unit tests isn't very practical.   I just want to run them all and see the perf results...

    Bob Willer
    BetaID 267513

    Monday, April 25, 2005 5:32 PM


  • Bob,

    Thanks for your feedback.  It should give me leverage in my arguments to clean this up before ship, it definitely gives that "beta" aftertaste, doesn't it? For now, I think the best way is to follow this approach ReidM documents on the Channel9 blog:

    "I got the following to work with the command line test runner, but I am not sure if there is a better way:

    - Add the specific dll you want to instrument from the UnitTestProjectFolder/bin/Debug
    - Add the MSTest.exe path in the 'Executable to launch:' setting.
    - Add the parameters to run the tests in your assembly via MSTest


    Monday, April 25, 2005 11:00 PM