i'm trying make continuous integration on windows store application jenkins. jenkins installed on linux machine (due other project ios , android). in order manage windows project installed build machine on windows 8 64 bits pro (wp8 project build on machine). want use machine windows store application.
at beginning, built project msbuild (used generate apppackages folder). accept certificate (.cer) with
certutil -addstore root <file.cer> after that, tried use vstest.console.exe on application (.appx). executable needs run in interactive service, launched exe, access on interactive session , launch vstest.console.exe (i made executable article http://www.codeproject.com/articles/110568/alternative-way-for-window-services-to-interact-wi ).
despite that, vstest.console.exe failed message:
microsoft (r) test execution command line tool version 11.0.60315.1 copyright (c) microsoft corporation. rights reserved. starting test execution, please wait... error: failed launch test executor windows store app error code 0. when run script, without using jenkins service (or service built me) works perfectly. used windows 8 phone, script testing project works perfectly, doesn’t when used windows 8 metro application.
has managed run unit tests service?
we use jenkins windows store app ci launching , msbuild job. maybe snippet you?
<target name="unittest" dependsontargets="pretest;compile" condition="'$(skiptests)'=='' , '$(platform)'=='x86'" > <itemgroup> <testappx include="$(solutiondir)\**\*x86*\**\*tests*.appx" /> </itemgroup> <message importance="high" text="running tests %(testappx.identity)" /> <exec command='"c:\program files (x86)\microsoft visual studio 12.0\common7\ide\commonextensions\microsoft\testwindow\vstest.console.exe" %(testappx.identity) /inisolation /platform:x86 /logger:trx /usevsixextensions:true' workingdirectory="$(solutiondir)"/> </target>
Comments
Post a Comment