.NET Core MSTest Parameters

Viewed 1038

I have a .NET Core MSTest library, and I would like to pass a parameter to it on the command line. Something like this:

dotnet test -myparam=myvalue

How would I do something like this, and how would I retrieve the value of "myparam" in code.

Note: I would be ok with somehow specifying a configuration file for the test library to use, rather than just passing a parameter.

1 Answers
Related