pact-foundation / pact-workshop-dotnet-core-v1

A workshop for Pact using .NET Core
Apache License 2.0
76 stars 209 forks source link

'No test is available' at step 4.3.2 #5

Closed sebrose closed 6 years ago

sebrose commented 6 years ago

I'm working through your workshop on OSX. All good until 4.3.2, when I get the error message: No test is available in /Users/seb/Projects/pact-workshop-dotnet-core-v1/YourSolution/Provider/tests/bin/Debug/netcoreapp2.0/tests.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.

Other information

This is the output from dotnet --info .NET Command Line Tools (2.0.0)

Product Information: Version: 2.0.0 Commit SHA-1 hash: cdcd1928c9

Runtime Environment: OS Name: Mac OS X OS Version: 10.13 OS Platform: Darwin RID: osx.10.12-x64 Base Path: /usr/local/share/dotnet/sdk/2.0.0/

Microsoft .NET Core Shared Framework Host

Version : 2.0.0 Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

sebrose commented 6 years ago

Problem with XUnit.

Adding ulimit -n 4096 to /etc/profile fixed the issue.

tdshipley commented 6 years ago

Thanks for letting me know :)