Closed schauerte closed 3 years ago
The build output now includes results for the created provider projects:
Test run for /home/runner/work/FSharp.TypeProviders.SDK/FSharp.TypeProviders.SDK/temp/tp281/tests/tp281.Tests/bin/Debug/netcoreapp3.1/tp281.Tests.dll(.NETCoreApp,Version=v3.1)
Microsoft (R) Test Execution Command Line Tool Version 16.6.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Test Run Successful.
Total tests: 5
Passed: 5
Total time: 1.7405 Seconds
Thank you!!!!
While investigating #339 I realized, that new providers (created based on the current template) do not run any unit-tests.
dotnet test
exits immediately - without any output (at least on my machine: Ubuntu 20.4 with dotnet 3.1.403, no Mono).After adding a reference to Microsoft.NET.Test.Sdk, the tests are discovered and executed successfully.