locked
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...

    Thanks,
    Bob Willer
    BetaID 267513

    Monday, April 25, 2005 5:32 PM

Answers

  • 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:

    http://channel9.msdn.com/ShowPost.aspx?PostID=46208 
    "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

    Thanks,
    Reid"

    Monday, April 25, 2005 11:00 PM