Skip to content

Tests from VisualFSharp.UnitTests project are not shown in Test Explorer #5308

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

Closed
vasily-kirichenko opened this issue Jul 8, 2018 · 4 comments

Comments

@vasily-kirichenko
Copy link
Contributor

Do anybody know how to run those tests?

image

@vasily-kirichenko
Copy link
Contributor Author

Trying to run them from command line fails as well

c:\git\visualfsharp\vsintegration\tests\UnitTests\bin\Debug>..\..\..\..\..\packages\NUnit.Console.3.0.0\tools\nunit3-console.exe VisualFSharp.UnitTests.dll
NUnit Console Runner 3.0.5797
Copyright (C) 2015 Charlie Poole

Runtime Environment
   OS Version: Microsoft Windows NT 10.0.17134.0
  CLR Version: 4.0.30319.42000

Test Files
    VisualFSharp.UnitTests.dll


Errors and Failures

1) Invalid : c:\git\visualfsharp\vsintegration\tests\UnitTests\bin\Debug\VisualFSharp.UnitTests.dll
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Run Settings
    WorkDirectory: c:\git\visualfsharp\vsintegration\tests\UnitTests\bin\Debug
    NumberOfTestWorkers: 4

Test Run Summary
    Overall result: Failed
   Tests run: 0, Passed: 0, Errors: 0, Failures: 0, Inconclusive: 0
     Not run: 0, Invalid: 0, Ignored: 0, Explicit: 0, Skipped: 0
  Start time: 2018-07-08 07:01:39Z
    End time: 2018-07-08 07:01:39Z
    Duration: 0,068 seconds

Results (nunit3) saved as TestResult.xml

@vasily-kirichenko
Copy link
Contributor Author

It seems the tests are not run on CI either, I cannot find any "unused open" ones in https://ci2.dot.net/job/Microsoft_visualfsharp/job/master/job/release_ci_part1_windows_nt/lastSuccessfulBuild/artifact/tests/TestResults/ for instance.

@TIHan
Copy link
Contributor

TIHan commented Jul 8, 2018

I think @KevinRansom might have the best context here. We realized that some IDE tests were not running for a long time and so he's been working on that.

@cartermp
Copy link
Contributor

IDE unit tests are now enabled again, so I'll close this out.

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

3 participants