-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NUnit3TestAdapter 3.8.0-alpha1 - Win32Exception: Permission denied on TravisCI for DesktopClr(net461) #324
Comments
Also, here is a reference to my csproj file: https://github.com/fir3pho3nixx/Core/blob/refactor-build-travisci-nunit-adapter/src/Castle.Core.Tests/Castle.Core.Tests-VS2017.csproj#L43 |
Thanks for the report. Odd that nothing in that callstack is part of the adapter, in fact it looks like the |
Just pinging back to find out how this is going? |
Sorry, we haven't looked at this yet, I have been busy with an NUnit Framework release. Can you test a simple NUnit and xUnit test project the same way on Linux? I would like to confirm that the bug is with our adapter and not VSTest which it looks like from your Callstack. |
Let me check this out and get back to you. |
@rprouse - Just an update, we have been chasing a castle core/windsor release to get some bug fixes out after moving our builds to appveyor/travisci. Looks like I might have bandwidth to start looking at this again in the coming week. |
Thanks for the update @Fir3pho3nixx. Any help you can provide would be appreciated. |
@rprouse - I have some good news. I have a multi-targeting solution compiling on both windows and linux using both nunit and xunit. Turns out this is kicking out the same error for both testing frameworks using the DesktopCLR. NUnit's error reporting is slightly better it gives a stacktrace. XUnit does not. The current gold standard I could come up with for multi-targeting on both windows and linux with tests for doing this can be found here: https://github.com/fir3pho3nixx/nunit-adapter-vs-xunit Here is the output from linux:
|
Further down the rabbit hole we go :) |
@Fir3pho3nixx tell me if I am reading this wrong, but it sounds like this is a .NET Core issue since it appears in both NUnit and xUnit. May we close? |
You would be right. Scheduled fix for 15.3. |
Thanks for releasing this. I tried it out today and it works really well on Windows but when I use it on Linux I get a Win32Exception.
https://travis-ci.org/fir3pho3nixx/Core/builds/229245536#L1899
I can also reproduce the error on Ubuntu 16.04 with the following
dotnet --info
:The command I used after following your article @ http://www.alteridem.net/2017/05/04/test-net-core-nunit-vs2017/ was
dotnet test ./src/Castle.Core.Tests/Castle.Core.Tests-VS2017.csproj
.If you need any more info happy to help.
The text was updated successfully, but these errors were encountered: