Closed isaacabraham closed 2 years ago
This is always really tricky to debug. The MS.NET test sdk does a great job of not reporting what the actual issue is, swallowing exceptions, and generally just being unhelpful (to developers). There is a command-line argument you can pass to it (I don't remember off the top of my head) to tell it which provider to use. You can try that, and point that at the expecto test-sdk dll. It might give you more/better errors (and/or just work). You should also check your output folder (bin/Debug/net48
) for the test adapter (as far as I remember, it has to be there).
That's all the things I can think of off the top of my head at least.
Thanks for getting back so quickly. I'll check.
By expecto test-sdk
am I right that you're referring to expecto.visualstudio.testadapter.dll
?
Yes. That should be the one.
Sadly, doesn't work. I'm happy to make a dumbed-down repro if you'd be interested?
Sorry, but I'm not using F# anymore, and net framework isn't supported by this project anymore. I don't want to go through re-figuring out how that whole discovery of testadapter worked again. Did you give it the command line value to specify it's location? And you still got zero tests?
Yes, and yes, I tried - didn't work.
No worries, I appreciate you do this in your spare time, you don't have to justify not wanting to work on stuff that isn't supported any more.
I believe I've vastly improved the testing, so it should be doable to attempt to re-add net-framework support and have tests that show whether or not it fails in CI. That being said I'm not going to work on this myself (beyond providing some assistance if needed).
Stale issue - and I'm not interested in supporting .NET framework anymore that what may accidentally work at this point.
We have a net48 project with some tests. We have the following dependencies:
0.8.0 is the latest version that works with netfx, so that's the one we picked, and the associated max version of Expecto (8.13.2).
However, when we run dotnet test, we see the following:
What are we doing wrong?