Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problem if OutputXmlFolderMode setting is not in .runsettings #1030

Closed
varnk opened this issue Nov 14, 2022 · 6 comments
Closed

Problem if OutputXmlFolderMode setting is not in .runsettings #1030

varnk opened this issue Nov 14, 2022 · 6 comments

Comments

@varnk
Copy link

varnk commented Nov 14, 2022

  • NUnit 3.13.1
  • NUnit3TestAdapter 4.3.0
  • Visual Studio 2022 Enterprise Version 17.4.0
  • .NET Framework 4.6.1

When I have a .runsettings file selected in VS with a missing OutputXmlFolderMode setting, I cannot run or debug any tests. Visual Studio starts the test for a short time, and then the debug session just ends without any message or without hitting any of the code in the test. Once I added the OutputXmlFolderMode into the .runsettings file, the test started working again.

local.runsettings file attached with OutputXmlFolderMode set. Remove the OutputXmlFolderMode line to reproduce the problem.

local.zip

@OsirisTerje
Copy link
Member

OsirisTerje commented Nov 14, 2022

@varnk That's correct. It is fixed in the 4.3.1, ETA 1-2 days or so. See #1026 and #1027. There is an alpha there too, if you want to try.

I'll still mark this as a bug, since it is not explicitly set earlier, just as a comment within the two above.

@OsirisTerje OsirisTerje added this to the 4.3.1 milestone Nov 14, 2022
@varnk
Copy link
Author

varnk commented Nov 15, 2022

Looks like this problem also exists in Visual Studio 2022 Version 17.4.0 with the NUnit3TestAdapter 4.2.1. I don't believe this version of the TestAdapter supports the OutputXmlFolderMode, so maybe this is a different issue.

@OsirisTerje
Copy link
Member

That might be true. But if you run under netcore it should work. Have you checked the alpha version?

@OsirisTerje
Copy link
Member

@netcorefactory
Copy link

we should not presume everyone is on net.core?

@OsirisTerje
Copy link
Member

@netcorefactory No :-)

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants