Gallio: Cannot run tests because the MSTest executable was not found

后端 未结 3 775
北海茫月
北海茫月 2020-12-06 19:32

I installed the newest Gallio release 3.2.603 on a box without Visual Studio that will be our CI server. The NAnt script successfully built the .Net 4.0 projects but when it

3条回答
  •  失恋的感觉
    2020-12-06 19:59

    Ok, I got an answer from Gallio support that it actually requires MSTest.exe to be present on the box. I'll test the package that Aseem suggested whether it provides enough stuff to run the tests.

    Update: I installed Microsoft Visual Studio Test Agent 2010 from the package. I had to add the string value InstallDir to [HKLM\SOFTWARE\Microsoft\VisualStudio\10.0] and set the value to something like “C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE”

    Now my CI box runs those tests perfectly.

提交回复
热议问题