We are using Visual Studio 2010 connected to Team Foundation Server 2010 and we use MSTest to create our unit tests.
Is it possible to attach an image to a test report, so when a test fails we can visualize something?
This image can for example be a screenshot of the application for UI tests or a graph visualizing measurement data.
Use the
TestContext.AddResultFile
method: