I am working on this at the moment.

First thing I did was throw away MSTest. I wrote my own small test app
for the mobile which reflects the test dll and runs the test methods.
This isn't as hard as it sounds providing you don't use advanced
features of MSTest. It's a good idea to output results in the same
format as MSTest (.trx file).
To get it running from ccnet (which I haven't technically done yet)
I've written a command-line program with "using
Microsoft.SmartDevice.Connectivity;". This makes it easy to
programmatically start and connect to the emulator, deploy some files,
launch the app, and get any results files back.

Hope that helps,
Carl.

On Wed, Aug 19, 2009 at 10:47 AM, Ammar Gangardiwala<[email protected]> wrote:
>
> I need an help to setup CI for running unit tests for smart devices
> application (Pocket PC WM 5.0 emulator).
>
> <exec executable="C:\Program Files\Microsoft Visual Studio
> 9.0\Common7\IDE\MSTest.exe">
>        <baseDirectory>C:\Samples\TestPrj</baseDirectory>
>        <buildArgs>/testmetadata:TestPrj.vsmdi /testlist:test1 /
> runconfig:SmartDeviceTestRun.testrunConfig /resultsfile:C:\UnitTests
> \Build\results.xml</buildArgs>
>        <buildTimeoutSeconds>5000</buildTimeoutSeconds>
> </exec>
>
> The above mentioned task in CCNET takes forever to execute, finally I
> have to kill the task.
>
>
> On Aug 17, 6:07 pm, Ammar Gangardiwala <[email protected]> wrote:
>> I want to run Smart Device (.NET CE) Unit Tests using CCNET.
>>
>> Visual Studio IDE automatically copies assemblies on device emulator
>> and runs the unit tests and get the result back. I don't know how to
>> do this using CCNET. Any help will be highly appreciated.
>>
>> Thanks,
>



-- 
Carl Cerecke
GeoBase Senior Software Engineer – Telogis Research
www.telogis.com  www.telogis.co.nz
+1 949 625-4115 ext. 208 (USA)   +64 3 339 2825 ext. 208 (NZ)
--
This e-mail, and any attachments, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information.  It is the property of Telogis.  If you are
not the intended recipient of this e-mail, you are hereby notified
that any dissemination, distribution or copying of this e-mail, any
attachments thereto, and use of the information contained, is strictly
prohibited.  If you have received this e-mail in error, please notify
the sender and permanently delete the original and any copy there of.

Reply via email to