Closed gsvgit closed 3 years ago
Short Answer: We use to run tests in dotnet test
. Here's how you'd configure it.
Long Answer:
Yeah this will be a bit confusing since we're using dotnet test
(using YoloDev.Expecto.TestSdk) and not dotnet run
to run the tests via the build script. Reason why we're using dotnet test
is other things like AltCover integrate seamlessly without having to know about Expecto. Reason why it doesn't pick up your config changes is because YoloDev.Expecto.TestSdk
has to scan the assembly for tests and isn't running the program via main
. I brought up configuring Expecto thru YoloDev in this PR and even tho it is closed, some variant of it made it into the main repo.
Thank you!
I use Expexto for testing and for manual tests execution I specify
Looks like this code is ignored while executing tests from the build script. How can I turn parallel tests execution off in this case?