Closed MarneeDear closed 5 years ago
dotnet run
?
I had to go back to version 8.9.1
to get the tests to run. In the fsproj from the expecto template the Expecto version is set to this:
<PackageReference Include="Expecto" Version="8.*" />
Maybe versions 8.10+ are not compatible with the Yolo
test runner specified in the template's fsproj
.
<PackageReference Include="YoloDev.Expecto.TestSdk" Version="0.*" />
Or I think it may be https://github.com/YoloDev/YoloDev.Expecto.TestSdk you need to report it on. I'm not sure.
@MarneeDear Happy to have you as a user! I hope you can power through the SDK issue ;)
@haf dotnet run
did work.
@haf I'll see what I can do.
@MarneeDear sorry for closing so quickly. You can use Expecto without the template and test SDK.
In the past they have been hard to keep aligned. This may be better in future as the command line config they use has been changed to more backwardly compatible format.
I opened an issue with YoloDev. Looks like he has an idea of how to fix it.
https://github.com/YoloDev/YoloDev.Expecto.TestSdk/issues/15
I get this error when I
dotnet test
on a new Expecto project:Steps:
Create a new expecto project
dotnet new expecto
Build the project
dotnet build
Build runs, does a restore, there are no errors.
Run the tests.
dotnet test
Get this error:
My
dotnet --info
I also reported this on the template project: https://github.com/MNie/Expecto.Template/issues/14