Skip to content
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

Running NUnit Tests - Issue #86

Open
normanhh3 opened this issue Mar 19, 2019 · 0 comments
Open

Running NUnit Tests - Issue #86

normanhh3 opened this issue Mar 19, 2019 · 0 comments

Comments

@normanhh3
Copy link
Contributor

normanhh3 commented Mar 19, 2019

Hi Folks,

NOTE: This is currently on a branch I have, but I was able to recreate the same thing on the main fsharp branch here as well.

I'm running into the following issue while trying to run dotnet test and tried adding the recommended NuGet package with no change to the situation.

This is after running a dotnet build has completed successfully.

From the folder: /Users/[REDACTED]/FSharpKoans

dotnet test
Build started, please wait...
Build started, please wait...
Build started, please wait...
Build completed.

Test run for /Users/[REDACTED]/FSharpKoans/FSharpKoans.Core/bin/Debug/netstandard2.0/FSharpKoans.Core.dll(.NETStandard,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 15.7.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
System.IO.FileNotFoundException: Unable to find tests for /Users/[REDACTED]/FSharpKoans/FSharpKoans.Core/bin/Debug/netstandard2.0/FSharpKoans.Core.dll. Make sure test project has a nuget reference of package "Microsoft.NET.Test.Sdk" and framework version settings are appropriate. Rerun with /diag option to diagnose further.
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.GetTestHostProcessStartInfo(IEnumerable`1 sources, IDictionary`2 environmentVariables, TestRunnerConnectionInfo connectionInfo)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler)

Test Run Aborted.
Build completed.

Test run for /Users/[REDACTED]/FSharpKoans/FSharpKoans/bin/Debug/netcoreapp2.0/FSharpKoans.dll(.NETCoreApp,Version=v2.0)
Build completed.

Test run for /Users/[REDACTED]/FSharpKoans/FSharpKoans.Test/bin/Debug/netcoreapp2.0/FSharpKoans.Test.dll(.NETCoreApp,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 15.7.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Microsoft (R) Test Execution Command Line Tool Version 15.7.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
Starting test execution, please wait...
System.IO.FileNotFoundException: Unable to find tests for /Users/[REDACTED]/FSharpKoans/FSharpKoans.Test/bin/Debug/netcoreapp2.0/FSharpKoans.Test.dll. Make sure test project has a nuget reference of package "Microsoft.NET.Test.Sdk" and framework version settings are appropriate. Rerun with /diag option to diagnose further.
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.GetTestHostProcessStartInfo(IEnumerable`1 sources, IDictionary`2 environmentVariables, TestRunnerConnectionInfo connectionInfo)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler)
System.IO.FileNotFoundException: Unable to find tests for /Users/[REDACTED]/FSharpKoans/FSharpKoans/bin/Debug/netcoreapp2.0/FSharpKoans.dll. Make sure test project has a nuget reference of package "Microsoft.NET.Test.Sdk" and framework version settings are appropriate. Rerun with /diag option to diagnose further.
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.GetTestHostProcessStartInfo(IEnumerable`1 sources, IDictionary`2 environmentVariables, TestRunnerConnectionInfo connectionInfo)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler)

Test Run Aborted.

Test Run Aborted.

Any thoughts here on what I might be missing?

normanhh3 added a commit to normanhh3/FSharpKoans that referenced this issue Mar 21, 2019
normanhh3 added a commit to normanhh3/FSharpKoans that referenced this issue Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant