![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have created a .NET cf dll that I use in a WM application. I have created unit tests for these classes using VS2008. I would like to create a .NET CF application that someone can run on a WM device to run these unit tests without needing VS2008. Is there some sample code that shows how to iterate through the tests in a unit test library, run them and get the result using Microsoft.VisualStudio.TestTools assembly? Thanks, JR |
#3
| |||
| |||
|
|
I have created a .NET cf dll that I use in a WM application. I have created unit tests for these classes using VS2008. I would like to create a .NET CF application that someone can run on a WM device to run these unit tests without needing VS2008. Is there some sample code that shows how to iterate through the tests in a unit test library, run them and get the result using Microsoft.VisualStudio.TestTools assembly? Thanks, JR |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Can you get code coverage reports for smart device unit tests? Can you tell me how, as I understood it didn't work for smart device based unit testing? Thanks Matt |
#6
| |||
| |||
|
|
No you won't get any reports out of it unless the test runner actually integrates with Visual Studio But if what you really want is a test runner you can deploy then you should check out the test runner included in the old mobile client software factory? It's a simple application that one can deploy to the device and run the unit tests on the device. But as previously mentioned, you won't get decent reports out of it... -- Regards, Christian Resma Helle http://christian-helle.blogspot.com "Matt Evans" <im.djmatty (AT) googlemail (DOT) com> wrote in message news:613b7df6-7e66-4a53-a18b-850a3af84055 (AT) u36g2000prn (DOT) googlegroups.com... Can you get code coverage reports for smart device unit tests? Can you tell me how, as I understood it didn't work for smart device based unit testing? Thanks Matt |
#7
| |||
| |||
|
|
Studio can already deploy and run tests (with test edition or better anyway) - am I missing something? -Chris "Christian Resma Helle" <xtianism (AT) hotmail (DOT) com> wrote in message news:2F53882C-1304-40C3-A833-3E804D572903 (AT) microsoft (DOT) com... No you won't get any reports out of it unless the test runner actually integrates with Visual Studio But if what you really want is a test runner you can deploy then you should check out the test runner included in the old mobile client software factory? It's a simple application that one can deploy to the device and run the unit tests on the device. But as previously mentioned, you won't get decent reports out of it... -- Regards, Christian Resma Helle http://christian-helle.blogspot.com "Matt Evans" <im.djmatty (AT) googlemail (DOT) com> wrote in message news:613b7df6-7e66-4a53-a18b-850a3af84055 (AT) u36g2000prn (DOT) googlegroups.com... Can you get code coverage reports for smart device unit tests? Can you tell me how, as I understood it didn't work for smart device based unit testing? Thanks Matt |
#8
| |||
| |||
|
|
Hi Chris, The reason I suggested the MCSF test runner is because the developer wanted an application to deploy and run unit tests on someone else's device. The test runner included in the mobile client software factory was just a stand alone application that one can deploy to the device. The MCSF was initially designed before the release of VS2005, at that time there was no support for smart device unit testing -- Regards, Christian Resma Helle http://christian-helle.blogspot.com "Chris Tacke, MVP" <ctacke.at.opennetcf.dot.com> wrote in message news:157E4199-30B5-4B35-9929-EA89BE377AD3 (AT) microsoft (DOT) com... Studio can already deploy and run tests (with test edition or better anyway) - am I missing something? -Chris "Christian Resma Helle" <xtianism (AT) hotmail (DOT) com> wrote in message news:2F53882C-1304-40C3-A833-3E804D572903 (AT) microsoft (DOT) com... No you won't get any reports out of it unless the test runner actually integrates with Visual Studio But if what you really want is a test runner you can deploy then you should check out the test runner included in the old mobile client software factory? It's a simple application that one can deploy to the device and run the unit tests on the device. But as previously mentioned, you won't get decent reports out of it... -- Regards, Christian Resma Helle http://christian-helle.blogspot.com "Matt Evans" <im.djmatty (AT) googlemail (DOT) com> wrote in message news:613b7df6-7e66-4a53-a18b-850a3af84055 (AT) u36g2000prn (DOT) googlegroups.com... Can you get code coverage reports for smart device unit tests? Can you tell me how, as I understood it didn't work for smart device based unit testing? Thanks Matt |
#9
| |||
| |||
|
|
Can you get code coverage reports for smart device unit tests? Can you tell me how, as I understood it didn't work for smart device based unit testing? Thanks Matt |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |