<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Windows Phone 7 Continuous Integration Testing Framework</title><link>http://wp7ci.codeplex.com/project/feeds/rss</link><description>WP7 CI is a port of the Silverlight Toolkit Test Framework with added CI support, allowing tests to be run in the emulator from the command line</description><item><title>New Post: Integrating with TFS Build</title><link>http://wp7ci.codeplex.com/discussions/348514</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;This project looks like it has exactly what I was looking for. However, I am having trouble integrating the Continuous Integration Testing Framework with a TFS 2010 build server.&lt;/p&gt;
&lt;p&gt;My first issue was that the Unit Test project couldn't find several Silverlight Assemblies when executing the unit tests (see below). I tried doing a Copy Local == true but then the System.Core Assembly still had issues.&lt;/p&gt;
&lt;p&gt;I am building the project using the x86 processor architecture msbuild switch on a 64 bit machine as is necessary for silverlight assemblies.&lt;/p&gt;
&lt;p&gt;Error details: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies.&lt;/p&gt;
&lt;p&gt;The system cannot find the file specified.System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Phone, Version=7.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1e' or one of its dependencies. The system cannot find the file specified.&lt;/p&gt;
&lt;/div&gt;</description><author>dbau56789</author><pubDate>Wed, 14 Mar 2012 04:37:59 GMT</pubDate><guid isPermaLink="false">New Post: Integrating with TFS Build 20120314043759A</guid></item><item><title>Reviewed: 1.1 (Nov 15, 2011)</title><link>http://wp7ci.codeplex.com/releases/view/72082#ReviewBy-andrew_khmylov</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - I&amp;#39;ve been searching for a good testing solution for my WP7 projects, and this framework does simply everything I need. Great work&amp;#33;</description><author>andrew_khmylov</author><pubDate>Tue, 15 Nov 2011 10:43:42 GMT</pubDate><guid isPermaLink="false">Reviewed: 1.1 (Nov 15, 2011) 20111115104342A</guid></item><item><title>Updated Wiki: Home</title><link>http://wp7ci.codeplex.com/wikipage?version=11</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;WP7 CI is a port of the Silverlight Toolkit Test Framework with added CI support, allowing tests to be run in the emulator from the command line&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE:&lt;/b&gt; WP7-CI 1.1 (now with Mango support!) has a breaking change with 1.0 in that the MSBuild task is now called &amp;quot;Test&amp;quot; instead of &amp;quot;RunUnitTests&amp;quot;. See the &lt;a href="http://wp7ci.codeplex.com/releases/view/72082"&gt;download page&lt;/a&gt; for a complete changelist.&lt;br /&gt;
&lt;h2&gt;Installation&lt;/h2&gt;
Don&amp;#39;t have NuGet? A manual installation package is now available. Read the readme.txt!&lt;br /&gt;&lt;br /&gt;If you have NuGet, simply add the WP7-CI package from NuGet, which will do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Add references to the &lt;i&gt;Microsoft.Silverlight.Testing&lt;/i&gt; and &lt;i&gt;Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight&lt;/i&gt; assemblies that ship with the package (removing existing references if they exist)&lt;/li&gt;
&lt;li&gt;Add an MSBuild task called &amp;quot;Test&amp;quot; to the project that can be called from the command line (it&amp;#39;s configured by default to fail build if the tests fail)&lt;/li&gt;
&lt;li&gt;Add a TestsPage.xaml and set it as the startup page (you&amp;#39;re free to remove this file)&lt;/li&gt;
&lt;li&gt;Add a SampleTest.cs which contains three tests (one pass, one fail, one error)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;You can then run the tests:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In Visual Studio by setting the tests project as startup and hitting F5&lt;/li&gt;
&lt;li&gt;At the command line by running msbuild against the project and setting the target to &amp;quot;Test&amp;quot; (it will automatically build your project if required)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;The log will be written to TestResult.trx in the same directory as the XAML output. See &lt;a href="http://wp7ci.codeplex.com/wikipage?title=Build%20Properties&amp;referringTitle=Home"&gt;Build Properties&lt;/a&gt; for properties that you can override at the command line.&lt;br /&gt;&lt;br /&gt;If your CI server is run by a windows service, you will need to enable &amp;quot;Allow service to interact with desktop&amp;quot; in the service&amp;#39;s &amp;quot;Logon&amp;quot; options.&lt;br /&gt;
&lt;h2&gt;Features&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;MSBuild task for executing tests in the WP7 OS from the command line
&lt;ul&gt;&lt;li&gt;Basic options for emulator vs device&lt;/li&gt;
&lt;li&gt;Adanced options for &lt;a href="http://wp7ci.codeplex.com/wikipage?title=Configuring%20multiple%20OS%20emulators&amp;referringTitle=Home"&gt;selecting emulator images&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Updated &lt;span class="codeInline"&gt;Microsoft.Silverlight.Testing&lt;/span&gt; assembly that enables service-callback support for WP7&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Project Lifespan and Scope&lt;/h2&gt;
This project will be terminated once there is official support for running in-emulator unit tests in a CI environment. Bug fixes and features will be limited to the automation of running unit tests on the WP7 operating system.&lt;br /&gt;
&lt;h2&gt;Known Issues&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;The emulator is not closed after execution completes&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>richard_szalay</author><pubDate>Sun, 21 Aug 2011 19:58:53 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110821075853P</guid></item><item><title>Updated Release: 1.1 (Aug 21, 2011)</title><link>http://wp7ci.codeplex.com/releases/view/72082</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Change Log&lt;/h1&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;BREAKING CHANGE&lt;/b&gt; Test task name is now &amp;quot;Test&amp;quot; (was &amp;quot;RunUnitTests&amp;quot;)&lt;/li&gt;
&lt;li&gt;Windows Phone 7.1 (Mango) support&lt;/li&gt;
&lt;li&gt;Fixed display bug for ExpectedException tests&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Installation&lt;/h1&gt;
Using &lt;a href="http://nuget.org/" class="externalLink"&gt;NuGet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, install &amp;quot;WP7-CI&amp;quot; to the Windows Phone Silverlight Application that is being used for unit tests (create one if you haven&amp;#39;t already).&lt;br /&gt;&lt;br /&gt;&lt;i&gt;NOTE:&lt;/i&gt; The package will change the startup page to &amp;quot;TestsPage.xaml&amp;quot;, but you can revert it to &amp;quot;MainPage.xaml&amp;quot; by editing Properties/WMAppManifest.xaml. You can then delete the TestsPage.xaml file.&lt;br /&gt;
&lt;h2&gt;Manual Installation&lt;/h2&gt;
Don&amp;#39;t have NuGet?&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Create a Windows Phone Silverlight Application for your tests if you haven&amp;#39;t already&lt;/li&gt;
&lt;li&gt;Download the manual installation archive and extract it to a folder called &amp;quot;WP7-CI&amp;quot; under your application project folder.&lt;/li&gt;
&lt;li&gt;Add a reference to &lt;b&gt;Microsoft.Silverlight.Testing.dll&lt;/b&gt; and &lt;b&gt;Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll&lt;/b&gt; in lib/sl3-wp. Remove any references to previous versions of these assemblies.&lt;/li&gt;
&lt;li&gt;Manually edit your project file (csproj/vbproj) and place the following before the &amp;lt;/Project&amp;gt; at the end of the file:&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515;"&gt;Import&lt;/span&gt; &lt;span style="color:Red;"&gt;Project&lt;/span&gt;&lt;span style="color:Blue;"&gt;=&lt;/span&gt;&lt;span style="color:Black;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue;"&gt;WP7-CI\tools\WP7CI.targets&lt;/span&gt;&lt;span style="color:Black;"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:Blue;"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Also, as is required by the standard testing framework, the following code should be placed in the Loaded event of your startup page:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;var&lt;/span&gt; testPage = UnitTestSystem.CreateTestPage() &lt;span style="color:Blue;"&gt;as&lt;/span&gt; IMobileTestPage;

BackKeyPress += (x, xe) =&amp;gt; xe.Cancel = testPage.NavigateBack();
(Application.Current.RootVisual &lt;span style="color:Blue;"&gt;as&lt;/span&gt; PhoneApplicationFrame).Content = testPage;     
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>richard_szalay</author><pubDate>Sun, 21 Aug 2011 19:56:49 GMT</pubDate><guid isPermaLink="false">Updated Release: 1.1 (Aug 21, 2011) 20110821075649P</guid></item><item><title>Released: 1.1 (Aug 21, 2011)</title><link>http://wp7ci.codeplex.com/releases/view/72082</link><description>
&lt;div class="wikidoc"&gt;
&lt;h1&gt;Change Log&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;BREAKING CHANGE&lt;/b&gt; Test task name is now &amp;quot;Test&amp;quot; (was &amp;quot;RunUnitTests&amp;quot;)
&lt;/li&gt;&lt;li&gt;Windows Phone 7.1 (Mango) support &lt;/li&gt;&lt;li&gt;Fixed display bug for ExpectedException tests&lt;/li&gt;&lt;/ul&gt;
&lt;h1&gt;Installation&lt;/h1&gt;
Using &lt;a href="http://nuget.org/"&gt;NuGet&lt;span&gt;&lt;/span&gt;&lt;/a&gt;, install &amp;quot;WP7-CI&amp;quot; to the Windows Phone Silverlight Application that is being used for unit tests (create one if you haven&amp;#39;t already).&lt;br&gt;
&lt;br&gt;
&lt;i&gt;NOTE:&lt;/i&gt; The package will change the startup page to &amp;quot;TestsPage.xaml&amp;quot;, but you can revert it to &amp;quot;MainPage.xaml&amp;quot; by editing Properties/WMAppManifest.xaml. You can then delete the TestsPage.xaml file.&lt;br&gt;
&lt;h2&gt;Manual Installation&lt;/h2&gt;
Don&amp;#39;t have NuGet?&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;Create a Windows Phone Silverlight Application for your tests if you haven&amp;#39;t already
&lt;/li&gt;&lt;li&gt;Download the manual installation archive and extract it to a folder called &amp;quot;WP7-CI&amp;quot; under your application project folder.
&lt;/li&gt;&lt;li&gt;Add a reference to &lt;b&gt;Microsoft.Silverlight.Testing.dll&lt;/b&gt; and &lt;b&gt;Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll&lt;/b&gt; in lib/sl3-wp. Remove any references to previous versions of these assemblies.
&lt;/li&gt;&lt;li&gt;Manually edit your project file (csproj/vbproj) and place the following before the &amp;lt;/Project&amp;gt; at the end of the file:&lt;/li&gt;&lt;/ol&gt;
&lt;br&gt;
&lt;div style="color:Black; background-color:White"&gt;
&lt;pre&gt;
&lt;span style="color:Blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515"&gt;Import&lt;/span&gt; &lt;span style="color:Red"&gt;Project&lt;/span&gt;&lt;span style="color:Blue"&gt;=&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue"&gt;WP7-CI\tools\WP7CI.targets&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:Blue"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br&gt;
Also, as is required by the standard testing framework, the following code should be placed in the Loaded event of your startup page:&lt;br&gt;
&lt;br&gt;
&lt;div style="color:Black; background-color:White"&gt;
&lt;pre&gt;
&lt;span style="color:Blue"&gt;var&lt;/span&gt; testPage = UnitTestSystem.CreateTestPage() &lt;span style="color:Blue"&gt;as&lt;/span&gt; IMobileTestPage;

BackKeyPress &amp;#43;= (x, xe) =&amp;gt; xe.Cancel = testPage.NavigateBack();
(Application.Current.RootVisual &lt;span style="color:Blue"&gt;as&lt;/span&gt; PhoneApplicationFrame).Content = testPage;     
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Sun, 21 Aug 2011 19:56:49 GMT</pubDate><guid isPermaLink="false">Released: 1.1 (Aug 21, 2011) 20110821075649P</guid></item><item><title>Updated Wiki: Home</title><link>http://wp7ci.codeplex.com/wikipage?version=10</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;WP7 CI is a port of the Silverlight Toolkit Test Framework with added CI support, allowing tests to be run in the emulator from the command line&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE:&lt;/b&gt; WP7-CI 1.1 (now with Mango support!) has a breaking change with 1.0 in that the MSBuild task is now called &amp;quot;Test&amp;quot; instead of &amp;quot;RunUnitTests&amp;quot;. See the &lt;a href="http://wp7ci.codeplex.com/releases/view/72082"&gt;download page&lt;/a&gt; for a complete changelist.&lt;br /&gt;
&lt;h2&gt;Installation&lt;/h2&gt;
Don&amp;#39;t have NuGet? A manual installation package is now available. Read the readme.txt!&lt;br /&gt;&lt;br /&gt;If you have NuGet, simply add the WP7-CI package from NuGet, which will do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Add references to the &lt;i&gt;Microsoft.Silverlight.Testing&lt;/i&gt; and &lt;i&gt;Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight&lt;/i&gt; assemblies that ship with the package (removing existing references if they exist)&lt;/li&gt;
&lt;li&gt;Add an MSBuild task called &amp;quot;RunUnitTests&amp;quot; to the project that can be called from the command line (it&amp;#39;s configured by default to fail build if the tests fail)&lt;/li&gt;
&lt;li&gt;Add a TestsPage.xaml and set it as the startup page (you&amp;#39;re free to remove this file)&lt;/li&gt;
&lt;li&gt;Add a SampleTest.cs which contains three tests (one pass, one fail, one error)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;You can then run the tests:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In Visual Studio by setting the tests project as startup and hitting F5&lt;/li&gt;
&lt;li&gt;At the command line by running msbuild against the project and setting the target to &amp;quot;Test&amp;quot; (it will automatically build your project if required)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;The log will be written to TestResult.trx in the same directory as the XAML output. See &lt;a href="http://wp7ci.codeplex.com/wikipage?title=Build%20Properties&amp;referringTitle=Home"&gt;Build Properties&lt;/a&gt; for properties that you can override at the command line.&lt;br /&gt;&lt;br /&gt;If your CI server is run by a windows service, you will need to enable &amp;quot;Allow service to interact with desktop&amp;quot; in the service&amp;#39;s &amp;quot;Logon&amp;quot; options.&lt;br /&gt;
&lt;h2&gt;Features&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;MSBuild task for executing tests in the WP7 OS from the command line
&lt;ul&gt;&lt;li&gt;Basic options for emulator vs device&lt;/li&gt;
&lt;li&gt;Adanced options for &lt;a href="http://wp7ci.codeplex.com/wikipage?title=Configuring%20multiple%20OS%20emulators&amp;referringTitle=Home"&gt;selecting emulator images&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Updated &lt;span class="codeInline"&gt;Microsoft.Silverlight.Testing&lt;/span&gt; assembly that enables service-callback support for WP7&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Project Lifespan and Scope&lt;/h2&gt;
This project will be terminated once there is official support for running in-emulator unit tests in a CI environment. Bug fixes and features will be limited to the automation of running unit tests on the WP7 operating system.&lt;br /&gt;
&lt;h2&gt;Known Issues&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;The emulator is not closed after execution completes&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>richard_szalay</author><pubDate>Sun, 21 Aug 2011 19:53:31 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110821075331P</guid></item><item><title>Updated Wiki: Home</title><link>http://wp7ci.codeplex.com/wikipage?version=9</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;WP7 CI is a port of the Silverlight Toolkit Test Framework with added CI support, allowing tests to be run in the emulator from the command line&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE:&lt;/b&gt; WP7-CI 1.1 (now with Mango support!) has a breaking change with 1.0 in that the MSBuild task is now called &amp;quot;Test&amp;quot; instead of &amp;quot;RunUnitTests&amp;quot;. See the &lt;a href="http://wp7ci.codeplex.com/releases/view/72082"&gt;download page&lt;/a&gt; for details.&lt;br /&gt;
&lt;h2&gt;Installation&lt;/h2&gt;
Don&amp;#39;t have NuGet? A manual installation package is now available. Read the readme.txt!&lt;br /&gt;&lt;br /&gt;If you have NuGet, simply add the WP7-CI package from NuGet, which will do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Add references to the &lt;i&gt;Microsoft.Silverlight.Testing&lt;/i&gt; and &lt;i&gt;Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight&lt;/i&gt; assemblies that ship with the package (removing existing references if they exist)&lt;/li&gt;
&lt;li&gt;Add an MSBuild task called &amp;quot;RunUnitTests&amp;quot; to the project that can be called from the command line (it&amp;#39;s configured by default to fail build if the tests fail)&lt;/li&gt;
&lt;li&gt;Add a TestsPage.xaml and set it as the startup page (you&amp;#39;re free to remove this file)&lt;/li&gt;
&lt;li&gt;Add a SampleTest.cs which contains three tests (one pass, one fail, one error)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;You can then run the tests:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In Visual Studio by setting the tests project as startup and hitting F5&lt;/li&gt;
&lt;li&gt;At the command line by running msbuild against the project and setting the target to &amp;quot;Test&amp;quot; (it will automatically build your project if required)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;The log will be written to TestResult.trx in the same directory as the XAML output. See &lt;a href="http://wp7ci.codeplex.com/wikipage?title=Build%20Properties&amp;referringTitle=Home"&gt;Build Properties&lt;/a&gt; for properties that you can override at the command line.&lt;br /&gt;&lt;br /&gt;If your CI server is run by a windows service, you will need to enable &amp;quot;Allow service to interact with desktop&amp;quot; in the service&amp;#39;s &amp;quot;Logon&amp;quot; options.&lt;br /&gt;
&lt;h2&gt;Features&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;MSBuild task for executing tests in the WP7 OS from the command line
&lt;ul&gt;&lt;li&gt;Basic options for emulator vs device&lt;/li&gt;
&lt;li&gt;Adanced options for &lt;a href="http://wp7ci.codeplex.com/wikipage?title=Configuring%20multiple%20OS%20emulators&amp;referringTitle=Home"&gt;selecting emulator images&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Updated &lt;span class="codeInline"&gt;Microsoft.Silverlight.Testing&lt;/span&gt; assembly that enables service-callback support for WP7&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Project Lifespan and Scope&lt;/h2&gt;
This project will be terminated once there is official support for running in-emulator unit tests in a CI environment. Bug fixes and features will be limited to the automation of running unit tests on the WP7 operating system.&lt;br /&gt;
&lt;h2&gt;Known Issues&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;The emulator is not closed after execution completes&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>richard_szalay</author><pubDate>Sun, 21 Aug 2011 19:53:12 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110821075312P</guid></item><item><title>Updated Release: 1.1 (Aug 21, 2011)</title><link>http://wp7ci.codeplex.com/releases/view/72082</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Change Log&lt;/h1&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;BREAKING CHANGE&lt;/b&gt; Test task name is now &amp;quot;Test&amp;quot; (was &amp;quot;RunUnitTests&amp;quot;)&lt;/li&gt;
&lt;li&gt;Windows Phone 7.1 (Mango) support&lt;/li&gt;
&lt;li&gt;Fixed display bug for ExpectedException tests&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Installation&lt;/h1&gt;
Using &lt;a href="http://nuget.org/" class="externalLink"&gt;NuGet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, install &amp;quot;WP7-CI&amp;quot; to the Windows Phone Silverlight Application that is being used for unit tests (create one if you haven&amp;#39;t already).&lt;br /&gt;&lt;br /&gt;&lt;i&gt;NOTE:&lt;/i&gt; The package will change the startup page to &amp;quot;TestsPage.xaml&amp;quot;, but you can revert it to &amp;quot;MainPage.xaml&amp;quot; by editing Properties/WMAppManifest.xaml. You can then delete the TestsPage.xaml file.&lt;br /&gt;
&lt;h2&gt;Manual Installation&lt;/h2&gt;
Don&amp;#39;t have NuGet?&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Create a Windows Phone Silverlight Application for your tests if you haven&amp;#39;t already&lt;/li&gt;
&lt;li&gt;Download the manual installation archive and extract it to a folder called &amp;quot;WP7-CI&amp;quot; under your application project folder.&lt;/li&gt;
&lt;li&gt;Manually edit your project file (csproj/vbproj) and place the following before the &amp;lt;/Project&amp;gt; at the end of the file:&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515;"&gt;Import&lt;/span&gt; &lt;span style="color:Red;"&gt;Project&lt;/span&gt;&lt;span style="color:Blue;"&gt;=&lt;/span&gt;&lt;span style="color:Black;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue;"&gt;WP7-CI\tools\WP7CI.targets&lt;/span&gt;&lt;span style="color:Black;"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:Blue;"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Also, as is required by the standard testing framework, the following code should be placed in the Loaded event of your startup page:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;var&lt;/span&gt; testPage = UnitTestSystem.CreateTestPage() &lt;span style="color:Blue;"&gt;as&lt;/span&gt; IMobileTestPage;

BackKeyPress += (x, xe) =&amp;gt; xe.Cancel = testPage.NavigateBack();
(Application.Current.RootVisual &lt;span style="color:Blue;"&gt;as&lt;/span&gt; PhoneApplicationFrame).Content = testPage;     
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>richard_szalay</author><pubDate>Sun, 21 Aug 2011 19:50:32 GMT</pubDate><guid isPermaLink="false">Updated Release: 1.1 (Aug 21, 2011) 20110821075032P</guid></item><item><title>Updated Release: 1.1 (Aug 21, 2011)</title><link>http://wp7ci.codeplex.com/releases/view/72082</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Change Log&lt;/h1&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;BREAKING CHANGE&lt;/b&gt; Test task name is now &amp;quot;Test&amp;quot; (was &amp;quot;RunUnitTests&amp;quot;)&lt;/li&gt;
&lt;li&gt;Windows Phone 7.1 (Mango) support&lt;/li&gt;
&lt;li&gt;Fixed display bug for ExpectedException tests&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Installation&lt;/h1&gt;
Using &lt;a href="http://nuget.org/" class="externalLink"&gt;NuGet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, install &amp;quot;WP7-CI&amp;quot; to the Windows Phone Silverlight Application that is being used for unit tests (create one if you haven&amp;#39;t already).&lt;br /&gt;&lt;br /&gt;&lt;i&gt;NOTE:&lt;/i&gt; The package will change the startup page to &amp;quot;TestsPage.xaml&amp;quot;, but you can revert it to &amp;quot;MainPage.xaml&amp;quot; by editing Properties/WMAppManifest.xaml. You can then delete the TestsPage.xaml file.&lt;br /&gt;
&lt;h2&gt;Manual Installation&lt;/h2&gt;
Don&amp;#39;t have NuGet?&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Create a Windows Phone Silverlight Application for your tests if you haven&amp;#39;t already&lt;/li&gt;
&lt;li&gt;Download the manual installation archive and extract it to a folder called &amp;quot;WP7-CI&amp;quot; under your application project folder.&lt;/li&gt;
&lt;li&gt;Manually edit your project file (csproj/vbproj) and place the following before the &amp;lt;/Project&amp;gt; at the end of the file:&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515;"&gt;Import&lt;/span&gt; &lt;span style="color:Red;"&gt;Project&lt;/span&gt;&lt;span style="color:Blue;"&gt;=&lt;/span&gt;&lt;span style="color:Black;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue;"&gt;WP7-CI\tools\WP7CI.targets&lt;/span&gt;&lt;span style="color:Black;"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:Blue;"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Also, as is required by the standard testing framework, the following code should be placed in the Loaded event of your startup page:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;var&lt;/span&gt; testPage = UnitTestSystem.CreateTestPage() &lt;span style="color:Blue;"&gt;as&lt;/span&gt; IMobileTestPage;

BackKeyPress += (x, xe) =&amp;gt; xe.Cancel = testPage.NavigateBack();
(Application.Current.RootVisual &lt;span style="color:Blue;"&gt;as&lt;/span&gt; PhoneApplicationFrame).Content = testPage;     
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>richard_szalay</author><pubDate>Sun, 21 Aug 2011 19:46:58 GMT</pubDate><guid isPermaLink="false">Updated Release: 1.1 (Aug 21, 2011) 20110821074658P</guid></item><item><title>Updated Release: 1.1 (Aug 21, 2011)</title><link>http://wp7ci.codeplex.com/releases/view/72082</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Change Log&lt;/h1&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;BREAKING CHANGE&lt;/b&gt; Test task name is now &amp;quot;Test&amp;quot; (was &amp;quot;RunUnitTests&amp;quot;)&lt;/li&gt;
&lt;li&gt;Windows Phone 7.1 (Mango) support&lt;/li&gt;
&lt;li&gt;Fixed display bug for ExpectedException tests&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Installation&lt;/h1&gt;
Using &lt;a href="http://wp7ci.codeplex.com/wikipage?title=NuGet%3ahttp%3a%2f%2fnuget.org%2f"&gt;NuGet&amp;#58;http&amp;#58;&amp;#47;&amp;#47;nuget.org&amp;#47;&lt;/a&gt;, install &amp;quot;WP7-CI&amp;quot; to the Windows Phone Silverlight Application that is being used for unit tests (create one if you haven&amp;#39;t already).&lt;br /&gt;&lt;br /&gt;&lt;i&gt;NOTE:&lt;/i&gt; The package will change the startup page to &amp;quot;TestsPage.xaml&amp;quot;, but you can revert it to &amp;quot;MainPage.xaml&amp;quot; by editing Properties/WMAppManifest.xaml. You can then delete the TestsPage.xaml file.&lt;br /&gt;
&lt;h2&gt;Manual Installation&lt;/h2&gt;
Don&amp;#39;t have NuGet?&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Create a Windows Phone Silverlight Application for your tests if you haven&amp;#39;t already&lt;/li&gt;
&lt;li&gt;Download the manual installation archive and extract it to a folder called &amp;quot;WP7-CI&amp;quot; under your application project folder.&lt;/li&gt;
&lt;li&gt;Manually edit your project file (csproj/vbproj) and place the following before the &amp;lt;/Project&amp;gt; at the end of the file:&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515;"&gt;Import&lt;/span&gt; &lt;span style="color:Red;"&gt;Project&lt;/span&gt;&lt;span style="color:Blue;"&gt;=&lt;/span&gt;&lt;span style="color:Black;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue;"&gt;WP7-CI\tools\WP7CI.targets&lt;/span&gt;&lt;span style="color:Black;"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:Blue;"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Also, as is required by the standard testing framework, the following code should be placed in the Loaded event of your startup page:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;var&lt;/span&gt; testPage = UnitTestSystem.CreateTestPage() &lt;span style="color:Blue;"&gt;as&lt;/span&gt; IMobileTestPage;

BackKeyPress += (x, xe) =&amp;gt; xe.Cancel = testPage.NavigateBack();
(Application.Current.RootVisual &lt;span style="color:Blue;"&gt;as&lt;/span&gt; PhoneApplicationFrame).Content = testPage;     
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>richard_szalay</author><pubDate>Sun, 21 Aug 2011 19:45:17 GMT</pubDate><guid isPermaLink="false">Updated Release: 1.1 (Aug 21, 2011) 20110821074517P</guid></item><item><title>Created Release: 1.1 (Aug 21, 2011)</title><link>http://wp7ci.codeplex.com/releases?ReleaseId=72082</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Change Log&lt;/h1&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;BREAKING CHANGE&lt;/b&gt; Test task name is now &amp;quot;Test&amp;quot; (was &amp;quot;RunUnitTests&amp;quot;)&lt;/li&gt;
&lt;li&gt;Windows Phone 7.1 (Mango) support&lt;/li&gt;
&lt;li&gt;Fixed display bug for ExpectedException tests&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Installation&lt;/h1&gt;
Using &lt;a href="http://wp7ci.codeplex.com/wikipage?title=NuGet%3ahttp%3a%2f%2fnuget.org%2f"&gt;NuGet&amp;#58;http&amp;#58;&amp;#47;&amp;#47;nuget.org&amp;#47;&lt;/a&gt;, install &amp;quot;WP7-CI&amp;quot; to the Windows Phone Silverlight Application that is being used for unit tests (create one if you haven&amp;#39;t already).&lt;br /&gt;&lt;br /&gt;&lt;i&gt;NOTE:&lt;/i&gt; The package will change the startup page to &amp;quot;TestsPage.xaml&amp;quot;, but you can revert it to &amp;quot;MainPage.xaml&amp;quot; by editing Properties/WMAppManifest.xaml. You can then delete the TestsPage.xaml file.&lt;br /&gt;
&lt;h2&gt;Manual Installation&lt;/h2&gt;
Don&amp;#39;t have NuGet?&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Create a Windows Phone Silverlight Application for your tests if you haven&amp;#39;t already&lt;/li&gt;
&lt;li&gt;Download the manual installation archive and extract it to a folder called &amp;quot;WP7-CI&amp;quot; under your application project folder.&lt;/li&gt;
&lt;li&gt;Manually edit your project file (csproj/vbproj) and place the following before the &amp;lt;/Project&amp;gt; at the end of the file:&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515;"&gt;Import&lt;/span&gt; &lt;span style="color:Red;"&gt;Project&lt;/span&gt;&lt;span style="color:Blue;"&gt;=&lt;/span&gt;&lt;span style="color:Black;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue;"&gt;WP7-CI\tools\WP7CI.targets&lt;/span&gt;&lt;span style="color:Black;"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:Blue;"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Also, as is required by the standard testing framework, the following code should be placed in the Loaded event of your startup page:&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;var&lt;/span&gt; testPage = UnitTestSystem.CreateTestPage() &lt;span style="color:Blue;"&gt;as&lt;/span&gt; IMobileTestPage;

BackKeyPress += (x, xe) =&amp;gt; xe.Cancel = testPage.NavigateBack();
(Application.Current.RootVisual &lt;span style="color:Blue;"&gt;as&lt;/span&gt; PhoneApplicationFrame).Content = testPage;     
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>richard_szalay</author><pubDate>Sun, 21 Aug 2011 19:45:06 GMT</pubDate><guid isPermaLink="false">Created Release: 1.1 (Aug 21, 2011) 20110821074506P</guid></item><item><title>Source code checked in, #039f9d34ae77</title><link>http://wp7ci.codeplex.com/SourceControl/changeset/changes/039f9d34ae77</link><description>Moved tag 1.1 to changeset c4a9cc2a05d1 &amp;#40;from changeset ab220f3cd817&amp;#41;</description><author>Richard</author><pubDate>Sun, 21 Aug 2011 19:06:24 GMT</pubDate><guid isPermaLink="false">Source code checked in, #039f9d34ae77 20110821070624P</guid></item><item><title>Source code checked in, #c4a9cc2a05d1</title><link>http://wp7ci.codeplex.com/SourceControl/changeset/changes/c4a9cc2a05d1</link><description>Breaking Change&amp;#58; Changed test target name to &amp;#34;Test&amp;#34;&amp;#10;Added a DependsOn property for &amp;#34;Test&amp;#34;</description><author>Richard</author><pubDate>Sun, 21 Aug 2011 19:05:12 GMT</pubDate><guid isPermaLink="false">Source code checked in, #c4a9cc2a05d1 20110821070512P</guid></item><item><title>Source code checked in, #73712d7bf062</title><link>http://wp7ci.codeplex.com/SourceControl/changeset/changes/73712d7bf062</link><description>Added tag 1.1 for changeset ab220f3cd817</description><author>Richard</author><pubDate>Sun, 21 Aug 2011 18:33:50 GMT</pubDate><guid isPermaLink="false">Source code checked in, #73712d7bf062 20110821063350P</guid></item><item><title>Source code checked in, #ab220f3cd817</title><link>http://wp7ci.codeplex.com/SourceControl/changeset/changes/ab220f3cd817</link><description>Fixed bugs preventing execution under Mango&amp;#10;Fixed a visual bug related to the display of expected exceptions&amp;#10;Updated NuSpec details</description><author>Richard</author><pubDate>Sun, 21 Aug 2011 18:31:08 GMT</pubDate><guid isPermaLink="false">Source code checked in, #ab220f3cd817 20110821063108P</guid></item><item><title>Updated Wiki: Home</title><link>http://wp7ci.codeplex.com/wikipage?version=8</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;WP7 CI is a port of the Silverlight Toolkit Test Framework with added CI support, allowing tests to be run in the emulator from the command line&lt;br /&gt;
&lt;h2&gt;Installation&lt;/h2&gt;
NOTE: NuGet is not currently available for Visual Studio Express for Windows Phone, but it will be supported as of the WP71 (&amp;quot;Mango&amp;quot;) release. Until then, either configure the package manually or hold tight!&lt;br /&gt;&lt;br /&gt;Simply add the WP7-CI package from NuGet, which will do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Add references to the &lt;i&gt;Microsoft.Silverlight.Testing&lt;/i&gt; and &lt;i&gt;Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight&lt;/i&gt; assemblies that ship with the package (removing existing references if they exist)&lt;/li&gt;
&lt;li&gt;Add an MSBuild task called &amp;quot;RunUnitTests&amp;quot; to the project that can be called from the command line (it&amp;#39;s configured by default to fail build if the tests fail)&lt;/li&gt;
&lt;li&gt;Add a TestsPage.xaml and set it as the startup page (you&amp;#39;re free to remove this file)&lt;/li&gt;
&lt;li&gt;Add a SampleTest.cs which contains three tests (one pass, one fail, one error)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;You can then run the tests:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In Visual Studio by setting the tests project as startup and hitting F5&lt;/li&gt;
&lt;li&gt;At the command line by running msbuild against the project and setting the target to &amp;quot;RunUnitTests&amp;quot; (it will automatically build your project if required)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;The log will be written to TestResult.trx in the same directory as the XAML output. See &lt;a href="http://wp7ci.codeplex.com/wikipage?title=Build%20Properties&amp;referringTitle=Home"&gt;Build Properties&lt;/a&gt; for properties that you can override at the command line.&lt;br /&gt;&lt;br /&gt;If your CI server is run by a windows service, you will need to enable &amp;quot;Allow service to interact with desktop&amp;quot; in the service&amp;#39;s &amp;quot;Logon&amp;quot; options.&lt;br /&gt;
&lt;h2&gt;Features&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;MSBuild task for executing tests in the WP7 OS from the command line
&lt;ul&gt;&lt;li&gt;Basic options for emulator vs device&lt;/li&gt;
&lt;li&gt;Adanced options for &lt;a href="http://wp7ci.codeplex.com/wikipage?title=Configuring%20multiple%20OS%20emulators&amp;referringTitle=Home"&gt;selecting emulator images&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Updated &lt;span class="codeInline"&gt;Microsoft.Silverlight.Testing&lt;/span&gt; assembly that enables service-callback support for WP7&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Project Lifespan and Scope&lt;/h2&gt;
This project will be terminated once there is official support for running in-emulator unit tests in a CI environment. Bug fixes and features will be limited to the automation of running unit tests on the WP7 operating system.&lt;br /&gt;
&lt;h2&gt;Known Issues&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;The emulator is not closed after execution completes&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>richard_szalay</author><pubDate>Thu, 11 Aug 2011 14:21:56 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110811022156P</guid></item><item><title>New Post: Integration in Hudson</title><link>http://wp7ci.codeplex.com/discussions/267391</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Have you configured the service with "Allow service to interact with desktop" rights?&lt;/p&gt;&lt;/div&gt;</description><author>richard_szalay</author><pubDate>Thu, 11 Aug 2011 14:13:09 GMT</pubDate><guid isPermaLink="false">New Post: Integration in Hudson 20110811021309P</guid></item><item><title>New Post: Integration in Hudson</title><link>http://wp7ci.codeplex.com/discussions/267391</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have set up Hudson to build and perform testing, but it will not detect when the tests are done. Anyone that have any suggestion on how to solve this?&lt;/p&gt;
&lt;/div&gt;</description><author>Paab72</author><pubDate>Tue, 02 Aug 2011 06:09:51 GMT</pubDate><guid isPermaLink="false">New Post: Integration in Hudson 20110802060951A</guid></item><item><title>Source code checked in, #306d85c85033</title><link>http://wp7ci.codeplex.com/SourceControl/changeset/changes/306d85c85033</link><description>Initial commit</description><author>richard_szalay</author><pubDate>Thu, 19 May 2011 16:48:10 GMT</pubDate><guid isPermaLink="false">Source code checked in, #306d85c85033 20110519044810P</guid></item></channel></rss>