Visual Studio Error Reporting for MSBuild with xUnit.net Launch

I am going to configure MSBuild to run xUnit.net as described here .

It works. But when xUnit reports an error, the actual error and the line / file in which the error occurs are split into two different error messages in Visual Studio "Error List" -window.

The file, row and column display the values โ€‹โ€‹of my project file instead of the original unit test file. Double-clicking on the error to go to the failed test does not work.

Is this a known issue? I could not find any information about this. A solution to my problem would be appreciated.

+4
source share
1 answer

I made a minor fork to the xUnit project, which does what you want. Use the xunit MSBuild task.

0
source

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


All Articles