Teamcity and Unit Testing Windows Store apps -
i've been struggling make teamcity 9 compile , run unit tests visual studio solution.
i have windows phone 8.1 (winrt, not silverlight) project , "myproject.common.dll" portable class library common functionality.
i created "windows phone unit test app" project. if run vs, runs on emulator , runs unit tests. ok.
if want run unit tests console use command:
"c:\program files (x86)\microsoft visual studio 12.0\common7\ide\commonextensions\microsoft\testwindow\vstest.console.exe myproject.tests_1.0.0.1_x86.appx /inisolation /settings:runonemu.runsettings"
it works. launches emulator, deploys appx , run unit tests.
now problem: using teamcity 9, configure command line build step runner using same command , , error:
error: not start test run tests windows phone app: unit tests windows store apps cannot run service or non interactive process. please run unit tests interactive process..
is there way bypass error?
in end, made custom script launch vstest.console.exe
, run unit test appx , build step load tests results teamcity.
Comments
Post a Comment