I am trying to do continuous integration in a Windows Store app with Jenkins. Jenkins is installed on a Linux machine (due to another project such as iOS and Android). To manage a Windows project, I installed a build machine in Windows 8 64 bit. Pro (WP8 project built on this computer). I want to use this machine for my WIndows Store application.
In the beginning, I built my project with msbuild (used to create the AppPackages folder). Then I accept the certificate (.cer) with
CertUtil -addstore root <FILE.cer>
After that, I tried using vstest.console.exe in the application (.appx). This executable should run in the online service, so I ran it with another exe that accesses the interactive session and runs vstest.console.exe (I made this executable with this article http://www.codeproject.com/Articles / 110568 / Alternative-way-for-Window-services-to-interact-wi ).
Despite this, vstest.console.exe failed with this message:
Microsoft (R) Test Execution Command Line Tool Version 11.0.60315.1 Copyright (c) Microsoft Corporation. All rights reserved. Starting test execution, please wait... Error: Failed to launch test executor for the Windows Store app with error code 0.
When I run my script without using the Jenkins service (or the service I created), it works fine. Used for a Windows 8 phone, the script for testing the project works fine, but is not used when using the Windows 8 Metro application.
Has anyone been able to run unit tests from a service?
source share