MSTest and app.config issue

后端 未结 3 1912
粉色の甜心
粉色の甜心 2020-12-14 14:59

I am stuck trying to automate unit tests runs with MSTest and deployment of app.config. I read multiple posts and blogs, tried multiple things and yet still app.config doesn

3条回答
  •  无人及你
    2020-12-14 15:46

    The problem is, as it turns out, with our over-complicated build environment and the fact that we are using and x-copiable version of MSTest (produced locally). The following command succeeded when I ran against VS2008 "proper" MSTest:

    "%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe" /testcontainer:d:\MyTests.dll /test:MyTests /resultsfile:results.trx

    Thanks everyone for the answers! The check goes to you, Marius, you made me learn new things with your tesrunconfig.

提交回复
热议问题