visualstudio.xunit icon indicating copy to clipboard operation
visualstudio.xunit copied to clipboard

Vstest adapter makes test return The underlying connection was closed: An unexpected error occurred on a send..

Open FredrikAlmen opened this issue 7 years ago • 2 comments

Hi

So started to use xunit after using mstest for some while. I installed the xunit.runnes.visualstudio Nuget.(And the other nugets needed) Then when i try to run my tests that tries to send a request with a restsharp RestClient i get the following error The underlying connection was closed: An unexpected error occurred on a send..

I tried to run with xunit.console from command line it works perfectly fine, and the tests work with mstest as well. So I am guessing its some problem with the xunit.runner.visualstudio adapter?

I use version 2.4.1 of xunit.runner.visualstudio

Otther setups 4.7.1.net framework Visual studio professional version 15.9.7 Windows 10

Is this someone else have seen. Anyone have any ideas why it happens?

FredrikAlmen avatar Feb 15 '19 10:02 FredrikAlmen

I have the same problem but no solution yet.

donruperto avatar Oct 30 '19 09:10 donruperto

Please re-open with a repro project. Thanks!

bradwilson avatar May 27 '23 18:05 bradwilson