Is there a good way we can profile a library while running unit tests against it with Unit Test Framework with the UI test runner?
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