How can I pass in specific parameters to mstest in Visual Studio
Posted
by
Eric Langland
on Stack Overflow
See other posts from Stack Overflow
or by Eric Langland
Published on 2012-06-29T21:12:20Z
Indexed on
2012/06/29
21:15 UTC
Read the original article
Hit count: 152
visual-studio
|unit-testing
I'm trying to modify my test projuect to allow for remote invocation of an api we're building. Right now the tests are hard coded to run locally(against localhost), but I would like to be able to point the tests at any endpoint (even remote ones in production).
Ideally there would be a place in the .testsettings for config values to be stored. Sadly this isn't the case.
Or, being able to pass parameters to MSTest that the test would read...?
Any ideas? Thanks in advance.
© Stack Overflow or respective owner