Skip to content

Commit 28332c2

Browse files
author
Andy Adamczak
committed
Added the Pocket PC as a PureMVC target.
1 parent f463791 commit 28332c2

12 files changed

+2225
-2
lines changed
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
==========================================================================
2+
Visual Studio Team System: Overview of Authoring and Running Tests
3+
==========================================================================
4+
5+
This overview describes the features for authoring and running tests in
6+
Visual Studio Team System and Visual Studio Team Edition for Software Testers.
7+
8+
Opening Tests
9+
-------------
10+
To open a test, open a test project or a test metadata file (a file with
11+
extension .vsmdi) that contains the definition of the test. You can find
12+
test projects and metadata files in Solution Explorer.
13+
14+
Viewing Tests
15+
-------------
16+
To see which tests are available to you, open the Test View window. Or,
17+
if you have installed Team Edition for Software Testers, you can also open
18+
the Test List Editor window to view tests.
19+
20+
To open the Test View window, click the Test menu, point to Windows, and
21+
then click Test View. To open the Test List Editor window (if you have
22+
installed Team Edition for Software Testers), click Test, point to Windows,
23+
and then click Test List Editor.
24+
25+
Running Tests
26+
-------------
27+
You can run tests from the Test View window and the Test List Editor window.
28+
See Viewing Tests to learn how to open these windows. To run one or more
29+
tests displayed in the Test View window, first select the tests in that
30+
window; to select multiple tests, hold either the Shift or CTRL key while
31+
clicking tests. Then click the Run Tests button in the Test View window
32+
toolbar.
33+
34+
If you have installed Visual Studio Team Edition for Software Testers, you can
35+
also use the Test List Editor window to run tests. To run tests in Test List Editor,
36+
select the check box next to each test that you want to run. Then click the
37+
Run Tests button in the Test List Editor window toolbar.
38+
39+
Viewing Test Results
40+
--------------------
41+
When you run a test or a series of tests, the results of the test run will be
42+
shown in the Test Results window. Each individual test in the run is shown on
43+
a separate line so that you can see its status. The window contains an
44+
embedded status bar in the top half of the window that provides you with
45+
summary details of the complete test run.
46+
47+
To see more detailed results for a particular test result, double-click it in
48+
the Test Results window. This opens a window that provides more information
49+
about the particular test result, such as any specific error messages returned
50+
by the test.
51+
52+
Changing the way that tests are run
53+
-----------------------------------
54+
Each time you run one or more tests, a collection of settings is used to
55+
determine how those tests are run. These settings are contained in a “test
56+
run configuration” file.
57+
58+
Here is a partial list of the changes you can make with a test run
59+
configuration file:
60+
61+
- Change the naming scheme for each test run.
62+
- Change the test controller that the tests are run on so that you can run
63+
tests remotely.
64+
- Gather code coverage data for the code being tested so that you can see
65+
which lines of code are covered by your tests.
66+
- Enable and disable test deployment.
67+
- Specify additional files to deploy before tests are run.
68+
- Select a different host, ASP.NET, for running ASP.NET unit tests.
69+
- Select a different host, the smart device test host, for running smart device unit tests.
70+
- Set various properties for the test agents that run your tests.
71+
- Run custom scripts at the start and end of each test run so that you can
72+
set up the test environment exactly as required each time tests are run.
73+
- Set time limits for tests and test runs.
74+
- Set the browser mix and the number of times to repeat Web tests in the
75+
test run.
76+
77+
By default, a test run configuration file is created whenever you create a
78+
new test project. You make changes to this file by double-clicking it in
79+
Solution Explorer and then changing its settings. (Test run configuration
80+
files have the extension .testrunconfig.)
81+
82+
A solution can contain multiple test run configuration files. Only one of
83+
those files, known as the “Active” test run configuration file, is used to
84+
determine the settings that are currently used for test runs. You select
85+
the active test run configuration by clicking Select Active Test Run
86+
Configuration on the Test menu.
87+
88+
-------------------------------------------------------------------------------
89+
90+
Test Types
91+
----------
92+
Using Visual Studio Team Edition for Software Testers, you can create a number
93+
of different test types:
94+
95+
Unit test: Use a unit test to create a programmatic test in C++, Visual C# or
96+
Visual Basic that exercises source code. A unit test calls the methods of a
97+
class, passing suitable parameters, and verifies that the returned value is
98+
what you expect.
99+
There are three specialized variants of unit tests:
100+
- Data-driven unit tests are created when you configure a unit test to be
101+
called repeatedly for each row of a data source. The data from each row
102+
is used by the unit test as input data.
103+
- ASP.NET unit tests are unit tests that exercise code in an ASP.NET Web
104+
application.
105+
- Smart device unit tests are unit tests that are deployed to a smart device
106+
or emulator and then executed by the smart device test host.
107+
108+
Web Test: Web tests consist of an ordered series of HTTP requests that you
109+
record in a browser session using Microsoft Internet Explorer. You can have
110+
the test report specific details about the pages or sites it requests, such
111+
as whether a particular page contains a specified string.
112+
113+
Load Test: You use a load test to encapsulate non-manual tests, such as
114+
unit, Web, and generic tests, and then run them simultaneously by using
115+
virtual users. Running these tests under load generates test results,
116+
including performance and other counters, in tables and in graphs.
117+
118+
Generic test: A generic test is an existing program wrapped to function as a
119+
test in Visual Studio. The following are examples of tests or programs that
120+
you can turn into generic tests:
121+
- An existing test that uses process exit codes to communicate whether the
122+
test passed or failed. 0 indicates passing and any other value indicates
123+
a failure.
124+
- A general program to obtain specific functionality during a test scenario.
125+
- A test or program that uses a special XML file (called a “summary results
126+
file”), to communicate detailed results.
127+
128+
Manual test: The manual test type is used when the test tasks are to be
129+
completed by a test engineer as opposed to an automated script.
130+
131+
Ordered test: Use an ordered test to execute a set of tests in an order you
132+
specify.
133+
134+
-------------------------------------------------------------------------------
135+
136+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("PureMVC.DotNET.VS2008.PocketPC.Tests")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("PureMVC.DotNET.VS2008.PocketPC.Tests")]
13+
[assembly: AssemblyCopyright("Copyright © 2009")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM componenets. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("8273e578-5cad-46fa-b414-affc3b1ed8e0")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
// You can specify all the values or you can default the Revision and Build Numbers
33+
// by using the '*' as shown below:
34+
[assembly: AssemblyVersion("3.0.0.0")]
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>9.0.30729</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{D2703F9B-6AB7-4219-9C7A-95C291B203F5}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<RootNamespace>PureMVC.DotNET.VS2008.PocketPC.Tests</RootNamespace>
11+
<AssemblyName>PureMVC.DotNET.VS2008.PocketPC.Tests</AssemblyName>
12+
<PlatformFamilyName>PocketPC</PlatformFamilyName>
13+
<PlatformID>b2c48bd2-963d-4549-9169-1fa021dce484</PlatformID>
14+
<OSVersion>5.2</OSVersion>
15+
<DeployDirSuffix>PureMVC.DotNET.VS2008.PocketPC.Tests</DeployDirSuffix>
16+
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
17+
<FormFactorID>
18+
</FormFactorID>
19+
<WarningLevel>4</WarningLevel>
20+
<ProjectTypeGuids>{73A5A715-AF05-47af-9C33-47A864AF9AE7};{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{4D628B5B-2FBC-4AA6-8C16-197242AEB884};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
21+
<NativePlatformName>Windows Mobile 6 Professional SDK</NativePlatformName>
22+
<SccProjectName>Svn</SccProjectName>
23+
<SccLocalPath>Svn</SccLocalPath>
24+
<SccAuxPath>Svn</SccAuxPath>
25+
<SccProvider>SubversionScc</SccProvider>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
28+
<DebugSymbols>true</DebugSymbols>
29+
<DebugType>full</DebugType>
30+
<Optimize>false</Optimize>
31+
<OutputPath>bin\Debug\</OutputPath>
32+
<NoStdLib>true</NoStdLib>
33+
<NoConfig>true</NoConfig>
34+
<ErrorReport>prompt</ErrorReport>
35+
<FileAlignment>512</FileAlignment>
36+
<WarningLevel>4</WarningLevel>
37+
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
38+
<DefineConstants>DEBUG;TRACE;$(PlatformFamilyName)</DefineConstants>
39+
</PropertyGroup>
40+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
41+
<DebugSymbols>false</DebugSymbols>
42+
<Optimize>true</Optimize>
43+
<OutputPath>bin\Release\</OutputPath>
44+
<DefineConstants>TRACE;$(PlatformFamilyName)</DefineConstants>
45+
<NoStdLib>true</NoStdLib>
46+
<NoConfig>true</NoConfig>
47+
<ErrorReport>prompt</ErrorReport>
48+
<FileAlignment>512</FileAlignment>
49+
<WarningLevel>4</WarningLevel>
50+
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
51+
</PropertyGroup>
52+
<ItemGroup>
53+
<Reference Include="Microsoft.VisualStudio.SmartDevice.UnitTestFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
54+
<Private>False</Private>
55+
</Reference>
56+
<Reference Include="mscorlib" />
57+
<Reference Include="System" />
58+
<Reference Include="System.Core" />
59+
<Reference Include="System.Data" />
60+
<Reference Include="System.Data.DataSetExtensions" />
61+
<Reference Include="System.Xml" />
62+
<Reference Include="System.Xml.Linq" />
63+
</ItemGroup>
64+
<ItemGroup>
65+
<Compile Include="..\PureMVC\Tests\Core\ControllerTest.cs">
66+
<Link>Core\ControllerTest.cs</Link>
67+
</Compile>
68+
<Compile Include="..\PureMVC\Tests\Core\ControllerTestCommand.cs">
69+
<Link>Core\ControllerTestCommand.cs</Link>
70+
</Compile>
71+
<Compile Include="..\PureMVC\Tests\Core\ControllerTestCommand2.cs">
72+
<Link>Core\ControllerTestCommand2.cs</Link>
73+
</Compile>
74+
<Compile Include="..\PureMVC\Tests\Core\ControllerTestVO.cs">
75+
<Link>Core\ControllerTestVO.cs</Link>
76+
</Compile>
77+
<Compile Include="..\PureMVC\Tests\Core\ModelTest.cs">
78+
<Link>Core\ModelTest.cs</Link>
79+
</Compile>
80+
<Compile Include="..\PureMVC\Tests\Core\ModelTestProxy.cs">
81+
<Link>Core\ModelTestProxy.cs</Link>
82+
</Compile>
83+
<Compile Include="..\PureMVC\Tests\Core\ViewTest.cs">
84+
<Link>Core\ViewTest.cs</Link>
85+
</Compile>
86+
<Compile Include="..\PureMVC\Tests\Core\ViewTestMediator.cs">
87+
<Link>Core\ViewTestMediator.cs</Link>
88+
</Compile>
89+
<Compile Include="..\PureMVC\Tests\Core\ViewTestMediator2.cs">
90+
<Link>Core\ViewTestMediator2.cs</Link>
91+
</Compile>
92+
<Compile Include="..\PureMVC\Tests\Core\ViewTestMediator3.cs">
93+
<Link>Core\ViewTestMediator3.cs</Link>
94+
</Compile>
95+
<Compile Include="..\PureMVC\Tests\Core\ViewTestMediator4.cs">
96+
<Link>Core\ViewTestMediator4.cs</Link>
97+
</Compile>
98+
<Compile Include="..\PureMVC\Tests\Core\ViewTestMediator5.cs">
99+
<Link>Core\ViewTestMediator5.cs</Link>
100+
</Compile>
101+
<Compile Include="..\PureMVC\Tests\Core\ViewTestMediator6.cs">
102+
<Link>Core\ViewTestMediator6.cs</Link>
103+
</Compile>
104+
<Compile Include="..\PureMVC\Tests\Core\ViewTestNote.cs">
105+
<Link>Core\ViewTestNote.cs</Link>
106+
</Compile>
107+
<Compile Include="..\PureMVC\Tests\Patterns\Command\MacroCommandTest.cs">
108+
<Link>Patterns\Command\MacroCommandTest.cs</Link>
109+
</Compile>
110+
<Compile Include="..\PureMVC\Tests\Patterns\Command\MacroCommandTestCommand.cs">
111+
<Link>Patterns\Command\MacroCommandTestCommand.cs</Link>
112+
</Compile>
113+
<Compile Include="..\PureMVC\Tests\Patterns\Command\MacroCommandTestSub1Command.cs">
114+
<Link>Patterns\Command\MacroCommandTestSub1Command.cs</Link>
115+
</Compile>
116+
<Compile Include="..\PureMVC\Tests\Patterns\Command\MacroCommandTestSub2Command.cs">
117+
<Link>Patterns\Command\MacroCommandTestSub2Command.cs</Link>
118+
</Compile>
119+
<Compile Include="..\PureMVC\Tests\Patterns\Command\MacroCommandTestVO.cs">
120+
<Link>Patterns\Command\MacroCommandTestVO.cs</Link>
121+
</Compile>
122+
<Compile Include="..\PureMVC\Tests\Patterns\Command\SimpleCommandTest.cs">
123+
<Link>Patterns\Command\SimpleCommandTest.cs</Link>
124+
</Compile>
125+
<Compile Include="..\PureMVC\Tests\Patterns\Command\SimpleCommandTestCommand.cs">
126+
<Link>Patterns\Command\SimpleCommandTestCommand.cs</Link>
127+
</Compile>
128+
<Compile Include="..\PureMVC\Tests\Patterns\Command\SimpleCommandTestVO.cs">
129+
<Link>Patterns\Command\SimpleCommandTestVO.cs</Link>
130+
</Compile>
131+
<Compile Include="..\PureMVC\Tests\Patterns\Facade\FacadeTest.cs">
132+
<Link>Patterns\Facade\FacadeTest.cs</Link>
133+
</Compile>
134+
<Compile Include="..\PureMVC\Tests\Patterns\Facade\FacadeTestCommand.cs">
135+
<Link>Patterns\Facade\FacadeTestCommand.cs</Link>
136+
</Compile>
137+
<Compile Include="..\PureMVC\Tests\Patterns\Facade\FacadeTestVO.cs">
138+
<Link>Patterns\Facade\FacadeTestVO.cs</Link>
139+
</Compile>
140+
<Compile Include="..\PureMVC\Tests\Patterns\Mediator\MediatorTest.cs">
141+
<Link>Patterns\Mediator\MediatorTest.cs</Link>
142+
</Compile>
143+
<Compile Include="..\PureMVC\Tests\Patterns\Observer\NotificationTest.cs">
144+
<Link>Patterns\Observer\NotificationTest.cs</Link>
145+
</Compile>
146+
<Compile Include="..\PureMVC\Tests\Patterns\Observer\ObserverTest.cs">
147+
<Link>Patterns\Observer\ObserverTest.cs</Link>
148+
</Compile>
149+
<Compile Include="..\PureMVC\Tests\Patterns\Proxy\ProxyTest.cs">
150+
<Link>Patterns\Proxy\ProxyTest.cs</Link>
151+
</Compile>
152+
<Compile Include="..\PureMVC\Tests\Util\BaseTest.cs">
153+
<Link>Util\BaseTest.cs</Link>
154+
</Compile>
155+
<Compile Include="Properties\AssemblyInfo.cs" />
156+
</ItemGroup>
157+
<ItemGroup>
158+
<Content Include="AuthoringTests.txt" />
159+
</ItemGroup>
160+
<ItemGroup>
161+
<Shadow Include="Test References\PureMVC.DotNET.VS2008.PocketPC.accessor" />
162+
</ItemGroup>
163+
<ItemGroup>
164+
<ProjectReference Include="..\PureMVC.DotNET.VS2008.PocketPC\PureMVC.DotNET.VS2008.PocketPC.csproj">
165+
<Project>{74436F67-729F-4BF8-A417-F48954203415}</Project>
166+
<Name>PureMVC.DotNET.VS2008.PocketPC</Name>
167+
</ProjectReference>
168+
</ItemGroup>
169+
<Import Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" />
170+
<PropertyGroup Condition="'$(BuildingInsideVisualStudio)'=='true' ">
171+
<DeviceTestAssemblySearchPath>$(DevEnvDir)PublicAssemblies</DeviceTestAssemblySearchPath>
172+
</PropertyGroup>
173+
<PropertyGroup>
174+
<AssemblySearchPaths>$(DeviceTestAssemblySearchPath);$(AssemblySearchPaths)</AssemblySearchPaths>
175+
</PropertyGroup>
176+
</Project>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
PureMVC.DotNET.35.PocketPC.dll
2+
Device

PureMVC.DotNET.VS2008.PocketPC.sln

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,35 @@
11

22
Microsoft Visual Studio Solution File, Format Version 10.00
33
# Visual Studio 2008
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PureMVC.DotNET.VS2008.PocketPC", "PureMVC.DotNET.VS2008.PocketPC\PureMVC.DotNET.VS2008.PocketPC.csproj", "{74436F67-729F-4BF8-A417-F48954203415}"
5+
EndProject
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EB39BD77-FB65-4963-ADE4-B05EF7DAAD25}"
7+
ProjectSection(SolutionItems) = preProject
8+
PureMVC.DotNET.VS2008.PocketPC.vsmdi = PureMVC.DotNET.VS2008.PocketPC.vsmdi
9+
SmartDeviceTestRun.testrunConfig = SmartDeviceTestRun.testrunConfig
10+
EndProjectSection
11+
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PureMVC.DotNET.VS2008.PocketPC.Tests", "PureMVC.DotNET.VS2008.PocketPC.Tests\PureMVC.DotNET.VS2008.PocketPC.Tests.csproj", "{D2703F9B-6AB7-4219-9C7A-95C291B203F5}"
13+
EndProject
414
Global
15+
GlobalSection(SubversionScc) = preSolution
16+
Svn-Managed = True
17+
Manager = AnkhSVN - Subversion Support for Visual Studio
18+
EndGlobalSection
19+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
20+
Debug|Any CPU = Debug|Any CPU
21+
Release|Any CPU = Release|Any CPU
22+
EndGlobalSection
23+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
24+
{74436F67-729F-4BF8-A417-F48954203415}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{74436F67-729F-4BF8-A417-F48954203415}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{74436F67-729F-4BF8-A417-F48954203415}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{74436F67-729F-4BF8-A417-F48954203415}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{D2703F9B-6AB7-4219-9C7A-95C291B203F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29+
{D2703F9B-6AB7-4219-9C7A-95C291B203F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
30+
{D2703F9B-6AB7-4219-9C7A-95C291B203F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
31+
{D2703F9B-6AB7-4219-9C7A-95C291B203F5}.Release|Any CPU.Build.0 = Release|Any CPU
32+
EndGlobalSection
533
GlobalSection(SolutionProperties) = preSolution
634
HideSolutionNode = FALSE
735
EndGlobalSection

PureMVC.DotNET.VS2008.PocketPC.vsmdi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<TestLists xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2006">
3+
<TestList name="Lists of Tests" id="8c43106b-9dc1-4907-a29f-aa66a61bf5b6">
4+
<RunConfiguration id="53d09980-bf26-41f8-9460-13336cc5522d" name="Local Test Run" storage="localtestrun.testrunconfig" type="Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration, Microsoft.VisualStudio.QualityTools.Common, PublicKeyToken=b03f5f7f11d50a3a" />
5+
</TestList>
6+
</TestLists>

0 commit comments

Comments
 (0)