All Tests Are Skipped

42 views
Skip to first unread message

Yufeng Kang

unread,
Jan 13, 2020, 4:58:02 PM1/13/20
to SpecRun
Hi, I have received the following errors in the log file and all test Scenarios are skipped. I have no idea what is System.Diagnostics.Process.resources.dll and where to find it.

Trying to resolve 'System.Diagnostics.Process.resources' to 'xxxx\netcoreapp3.1\System.Diagnostics.Process.resources.dll'
Trying to resolve 'System.Diagnostics.Process.resources' to 'xxxx\netcoreapp3.1\System.Diagnostics.Process.resources.exe'
Could not resolve 'System.Diagnostics.Process.resources' in folder 'xxx\Microsoft.AspNetCore.App\3.1.0'
Executor TCP server not started in executor process
   at TechTalk.SpecRun.Framework.Execution.OutOfProc.StreamJsonRPC.OutOfProcessTestAssemblyExecutorHost.<>c__DisplayClass9_0.<Initialize>b__0(Int32 attempt)
   at TechTalk.SpecRun.Framework.Execution.OutOfProc.StreamJsonRPC.OutOfProcessTestAssemblyExecutorHost.WaitForEndpoint(ITestExecutionManager executionManager, Process process, Action`1 action)

Here is the Default.srprofile file:

<?xml version="1.0" encoding="utf-8"?>
  <Settings projectName="MyProject.TestProject" />
  <Execution stopAfterFailures="0" testThreadCount="1" testSchedulingMode="Sequential" retryFor="Failing" retryCount="3" />
  <VSTest testRetryResults="Unified" passRateRelative="75%"/>
  
  <Environment testThreadIsolation="Process" platform="x64"/>
  <TestAssemblyPaths>
    <TestAssemblyPath>MyProject.TestProject.dll</TestAssemblyPath>
  </TestAssemblyPaths>
</TestProfile>

Thanks,
Ken

Stephen McCafferty

unread,
Jan 16, 2020, 6:09:12 AM1/16/20
to SpecRun
Did you open this GitHub issue as well? It looks very similar. I see that Andi has replied on GitHub, so I suggest we keep the conversation there.
Reply all
Reply to author
Forward
0 new messages