Replies: 1 comment
-
You can a) Add it as a PR to https://github.com/nunit/nunit-console.issues, add it as a separate folder named IssueXXX where the XXX is the issue number, or b) Add it as a zipped attachment here , or c) Add it to your own repo and just post the link. Make it as small as you can, it should compile "as is".
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
I am getting this error for nunit3-console runner but able to run testcases with dotnet test.
Try1: Stack Trace:
C:\Users\some\source\repos\XploreAutomationIntegrations\XploreAutomationIntegrations>nunit3-console "C:\Users\some\source\repos\XploreAutomationIntegrations\XploreAutomationIntegrations\XploreAutomationIntegrations.csproj" --explore
NUnit Console 3.15.4 (Release)
Copyright (c) 2022 Charlie Poole, Rob Prouse
Monday, August 14, 2023 9:38:20 AM
Runtime Environment
OS Version: Microsoft Windows NT 6.2.9200.0
Runtime: .NET Framework CLR v4.0.30319.42000
Test Files
C:\Users\some\source\repos\XploreAutomationIntegrations\XploreAutomationIntegrations\XploreAutomationIntegrations.csproj
Unhandled Exception: NUnit.Engine.NUnitEngineException: Remote test agent exited with non-zero exit code 1
at NUnit.Engine.Services.TestAgency.OnAgentExit(Process process, Guid agentId)
at NUnit.Engine.Services.TestAgency.<>c__DisplayClass13_0.b__0(Object sender, EventArgs e)
at System.Diagnostics.Process.OnExited()
at System.Diagnostics.Process.RaiseOnExited()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)
Try2 StackTrace:
C:\Users\some\source\repos\XploreAutomationIntegrations\XploreAutomationIntegrations>nunit3-console "C:\Users\some\source\repos\XploreAutomationIntegrations\XploreAutomationIntegrations\XploreAutomationIntegrations.csproj"
NUnit Console 3.15.4 (Release)
Copyright (c) 2022 Charlie Poole, Rob Prouse
Monday, August 14, 2023 9:53:37 AM
Runtime Environment
OS Version: Microsoft Windows NT 6.2.9200.0
Runtime: .NET Framework CLR v4.0.30319.42000
Test Files
C:\Users\some\source\repos\XploreAutomationIntegrations\XploreAutomationIntegrations\XploreAutomationIntegrations.csproj
Unhandled Exception: NUnit.Engine.NUnitEngineException: Remote test agent exited with non-zero exit code 1
at NUnit.Engine.Services.TestAgency.OnAgentExit(Process process, Guid agentId)
at NUnit.Engine.Services.TestAgency.<>c__DisplayClass13_0.b__0(Object sender, EventArgs e)
at System.Diagnostics.Process.OnExited()
at System.Diagnostics.Process.RaiseOnExited()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)
Errors, Failures and Warnings
NUnit.Engine.NUnitEngineException : Unable to acquire remote process agent
--NUnitEngineException
Unable to acquire remote process agent
at NUnit.Engine.Runners.ProcessRunner.CreateAgentAndRunnerIfNeeded()
at NUnit.Engine.Runners.ProcessRunner.RunTests(ITestEventListener listener, TestFilter filter)
Test Run Summary
Overall result: Failed
Test Count: 0, Passed: 0, Failed: 0, Warnings: 0, Inconclusive: 0, Skipped: 0
Start time: 2023-08-14 04:23:37Z
End time: 2023-08-14 04:23:39Z
Duration: 1.335 seconds
Results (nunit3) saved as TestResult.xml
Beta Was this translation helpful? Give feedback.
All reactions