You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide a succinct description of the issue.
Repro steps
Create a test directory then from command line
dotnet new xunit -lang F#
dotnet add package xUnit
dotnet restore
dotnet test
Expected behavior
Run the tests without warnings.
Actual behavior
It generates a warning, Main module of program is empty: nothing will happen when it is run
Here's my output
C:\...\Documents\Projects\xunit_test>dotnet test
Build started, please wait...
C:\Users\onur.gumus\Documents\Projects\xunit_test\Tests.fs(8,22): warning FS0988: Main module of program is empty: nothing will happen when
it is run [C:\Users\onur.gumus\Documents\Projects\xunit_test\xunit_test.fsproj]
Build completed.
Test run for C:\Users\onur.gumus\Documents\Projects\xunit_test\bin\Debug\netcoreapp1.1\xunit_test.dll(.NETCoreApp,Version=v1.1)
Microsoft (R) Test Execution Command Line Tool Version 15.0.0.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
[xUnit.net 00:00:01.0591665] Discovering: xunit_test
[xUnit.net 00:00:01.1484271] Discovered: xunit_test
[xUnit.net 00:00:01.1898693] Starting: xunit_test
[xUnit.net 00:00:01.2949161] Finished: xunit_test
Total tests: 1. Passed: 1. Failed: 0. Skipped: 0.
Test Run Successful.
Test execution time: 2.0677 Seconds
Known workarounds
No
Related information
Windows with dotnet version 1.0.1 SDK version 1.1.0
The text was updated successfully, but these errors were encountered:
Please provide a succinct description of the issue.
Repro steps
Create a test directory then from command line
dotnet new xunit -lang F#
dotnet add package xUnit
dotnet restore
dotnet test
Expected behavior
Run the tests without warnings.
Actual behavior
It generates a warning, Main module of program is empty: nothing will happen when it is run
Here's my output
Known workarounds
No
Related information
Windows with dotnet version 1.0.1 SDK version 1.1.0
The text was updated successfully, but these errors were encountered: