Running metro apps headlessly RRS feed

  • Question

  • Hi there. I've hit a bit of a roadblock, and I'm hoping someone can help!

    I've written a metro application that serves as a unit test runner, and I now need to be able to call this application headlessly so that it can be used for validation in the build process. The way the metro app works is it runs a bunch of unit tests, generates an xml file that contains the test results, and displays the results to the user.

    Ideally, I would have a simple script that would run the metro app, and execute the tests, exit the app, and then have the ability to read the results in the generated xml file. Is this possible, and if so, what's the best way to do it?

    Here are some more specific questions:

    • How can one start a metro app headlessly, and in the metro app is there a way to detect this so that it does not wait for user input?
    • Is it possible to access files within the package of a metro app from an outside process?

    Thanks in advance!

    Monday, April 16, 2012 5:49 PM


All replies