Open arialdomartini opened 10 months ago
Hmm. The first thing I'd do is try to see if upstream steps are working.
In particular you could run the test project with dotnet run
to see if Expecto alone is discovering tests. Then you can run with dotnet test
to see if the transition from Execto to YoloDev/dotnet test
is working correctly. If all of that is ok, then it's probably an issue in Rider that Jetbrains would need to fix.
I stumbled upon a weird behavior with Expecto and FsCheck I'm not sure if it depends on one or the other, though.
TL;DR changing
to
prevents Riders from discovering the Expecto tests.
I've got this dummy module:
Notice how that
randomDate
is unused.Tests are discovered with
YoloDev.Expecto.TestSdk
and by checkingEnable VSTest adapters support
, as per #326.When
randomDate
generates aDateTime
the test explorer shows:When it is set to generate
DateOnly
instead ofDateTime
, all the Expecto tests, from all the modules, just stop being discovered:The few tests still being discovered are the xUnit tests only.
Any idea how I could debug this weird behavior?