|
22 | 22 | <HDInsightTestDebug>.\src\ServiceManagement\HDInsight\Commands.HDInsight.Test\bin\Debug\Microsoft.WindowsAzure.Commands.HDInsight.Test.dll</HDInsightTestDebug> |
23 | 23 | <StorageTestDebug>.\src\ServiceManagement\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll</StorageTestDebug> |
24 | 24 | <KeyVaultTestDebug>.\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll</KeyVaultTestDebug> |
25 | | - <TestFilter>"!Functional&!Scenario&!AzureRTScenario&!Sequential&!PIRTest&!Preview&!ADDomain"</TestFilter> |
| 25 | + <TestFilter>"!Functional&!Scenario&!AzureRTScenario&!Sequential&!PIRTest&!Preview&!ADDomain&!Network&!AzureRTUpload&!AzureRTCleanUp"</TestFilter> |
26 | 26 | <ScenarioTestFilter>All</ScenarioTestFilter> |
27 | 27 | <OneSDKCITFilter>"OneSDK&CIT"</OneSDKCITFilter> |
28 | | - <AzureRTAllTestFilter>"Functional|AzureRTScenario"</AzureRTAllTestFilter> |
29 | | - <AzureRTAllTestFilter2>"Functional|AzureRTScenario|Preview"</AzureRTAllTestFilter2> |
30 | | - <AzureRTAllTestFilter3>"Functional|AzureRTScenario|Sequential"</AzureRTAllTestFilter3> |
| 28 | + <AzureRTAllTestFilter>"Functional|AzureRTScenario|Sequential|AzureRTUpload|Network"</AzureRTAllTestFilter> |
| 29 | + <AzureRTParAllFilter>"Functional|AzureRTScenario"</AzureRTParAllFilter> |
| 30 | + <AzureRTAllPreviewFilter>"Functional|AzureRTScenario|Preview"</AzureRTAllPreviewFilter> |
| 31 | + <AzureRTUploadSeqFilter>"AzureRTUpload|Sequential"</AzureRTUploadSeqFilter> |
| 32 | + <AzureRTSeqAllFilter>"AzureRTUpload|Sequential|Network"</AzureRTSeqAllFilter> |
31 | 33 | </PropertyGroup> |
32 | 34 |
|
33 | 35 | <Target Name="InvokeMSTest"> |
|
113 | 115 | <Xunit.Runner.MSBuild.xunit Assemblies="$(_RecoveryServicesTestAssembly)" Html="$(TestOutputDirectory)\RecoveryServices.xunit.dll.html" Verbose="false" |
114 | 116 | ExcludeTraits="$(XUnitExcludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" /> |
115 | 117 | </Target> |
| 118 | + |
| 119 | + <Target Name="TestStorSimple"> |
| 120 | + <PropertyGroup> |
| 121 | + <_StorSimpleTestAssembly>.\src\ServiceManagement\StorSimple\Commands.StorSimple.Test\bin\Debug\Microsoft.WindowsAzure.Commands.StorSimple.Test.dll</_StorSimpleTestAssembly> |
| 122 | + </PropertyGroup> |
| 123 | + <Xunit.Runner.MSBuild.xunit Assemblies="$(_StorSimpleTestAssembly)" Html="$(TestOutputDirectory)\StorSimple.xunit.dll.html" Verbose="false" |
| 124 | + ExcludeTraits="$(XUnitExcludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" /> |
| 125 | + </Target> |
116 | 126 |
|
117 | 127 | <!-- Run the scenario tests --> |
118 | 128 | <Target Name="ScenarioTest" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
|
186 | 196 | ContinueOnError="false" /> |
187 | 197 | </Target> |
188 | 198 |
|
| 199 | + <Target Name="AzureRTRepeat" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
| 200 | + <Message Importance="high" Text="Running a specific tests..." /> |
| 201 | + <Delete Files="$(TestOutputDirectory)\RTFunctionalDebug.trx" /> |
| 202 | + <Exec |
| 203 | + Command="for /l %%x in (1, 1, $(RepeatTimes)) do MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /test:$(TestName) /resultsfile:$(TestOutputDirectory)\RTFunctionalDebug%%x.trx" |
| 204 | + ContinueOnError="false" /> |
| 205 | + </Target> |
| 206 | + |
189 | 207 | <Target Name="AzureRTMulti" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
190 | 208 | <Message Importance="high" Text="Running tests:" /> |
191 | 209 | <Delete Files="$(TestOutputDirectory)\RTFunctionalDebug.trx" /> |
|
198 | 216 | <Message Importance="high" Text="Running AzureRT all tests..." /> |
199 | 217 | <Delete Files="$(TestOutputDirectory)\RTDebug.trx" /> |
200 | 218 | <Exec |
201 | | - Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /category:$(AzureRTAllTestFilter3) /resultsfile:$(TestOutputDirectory)\RTDebug.trx" |
| 219 | + Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /category:$(AzureRTAllTestFilter) /resultsfile:$(TestOutputDirectory)\RTDebug.trx" |
202 | 220 | ContinueOnError="false" /> |
203 | 221 | </Target> |
204 | 222 |
|
|
208 | 226 | <Delete Files="$(TestOutputDirectory)\RTSequentialDebug.trx" /> |
209 | 227 | <Delete Files="$(TestOutputDirectory)\RTDebug.trx" /> |
210 | 228 | <Exec |
211 | | - Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /category:Sequential /resultsfile:$(TestOutputDirectory)\RTSequentialDebug.trx" |
| 229 | + Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /category:$(AzureRTSeqAllFilter) /resultsfile:$(TestOutputDirectory)\RTSequentialDebug.trx" |
212 | 230 | ContinueOnError="true" /> |
213 | 231 | <Exec |
214 | | - Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(AzureRTTestSettings) /category:$(AzureRTAllTestFilter) /resultsfile:$(TestOutputDirectory)\RTDebug.trx" |
| 232 | + Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(AzureRTTestSettings) /category:$(AzureRTParAllFilter) /resultsfile:$(TestOutputDirectory)\RTDebug.trx" |
215 | 233 | ContinueOnError="false" /> |
216 | 234 | </Target> |
217 | 235 |
|
218 | 236 | <Target Name="AzureRTSeq" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
219 | 237 | <Message Importance="high" Text="Running AzureRT all tests..." /> |
220 | 238 |
|
221 | 239 | <Delete Files="$(TestOutputDirectory)\RTSequentialDebug.trx" /> |
222 | | - <Delete Files="$(TestOutputDirectory)\RTDebug.trx" /> |
223 | 240 | <Exec |
224 | | - Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /category:Sequential /resultsfile:$(TestOutputDirectory)\RTSequentialDebug.trx" |
| 241 | + Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /category:$(AzureRTSeqAllFilter) /resultsfile:$(TestOutputDirectory)\RTSequentialDebug.trx" |
225 | 242 | ContinueOnError="true" /> |
226 | 243 | </Target> |
227 | 244 |
|
228 | | - <Target Name="AzureRTPar" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
| 245 | + <Target Name="AzureRTNetwork" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
| 246 | + <Message Importance="high" Text="Running AzureRT all tests..." /> |
| 247 | + |
| 248 | + <Delete Files="$(TestOutputDirectory)\RTSequentialDebug.trx" /> |
| 249 | + <Exec |
| 250 | + Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /category:Network /resultsfile:$(TestOutputDirectory)\RTSequentialDebug.trx" |
| 251 | + ContinueOnError="false" /> |
| 252 | + </Target> |
| 253 | + |
| 254 | + <Target Name="AzureRTUploadSeq" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
229 | 255 | <Message Importance="high" Text="Running AzureRT all tests..." /> |
230 | 256 |
|
231 | 257 | <Delete Files="$(TestOutputDirectory)\RTSequentialDebug.trx" /> |
| 258 | + <Exec |
| 259 | + Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /category:$(AzureRTUploadSeqFilter) /resultsfile:$(TestOutputDirectory)\RTSequentialDebug.trx" |
| 260 | + ContinueOnError="false" /> |
| 261 | + </Target> |
| 262 | + |
| 263 | + <Target Name="AzureRTPar" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
| 264 | + <Message Importance="high" Text="Running AzureRT all tests..." /> |
| 265 | + |
232 | 266 | <Delete Files="$(TestOutputDirectory)\RTDebug.trx" /> |
233 | 267 | <Exec |
234 | 268 | Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(AzureRTTestSettings) /category:$(AzureRTAllTestFilter) /resultsfile:$(TestOutputDirectory)\RTDebug.trx" |
235 | 269 | ContinueOnError="false" /> |
236 | 270 | </Target> |
237 | 271 |
|
| 272 | + <Target Name="AzureRTFuntional" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
| 273 | + <Message Importance="high" Text="Running AzureRT Funtional tests..." /> |
| 274 | + |
| 275 | + <Delete Files="$(TestOutputDirectory)\RTFuntionalDebug.trx" /> |
| 276 | + <Exec |
| 277 | + Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(AzureRTTestSettings) /category:Functional /resultsfile:$(TestOutputDirectory)\RTFuntionalDebug.trx" |
| 278 | + ContinueOnError="false" /> |
| 279 | + </Target> |
| 280 | + |
| 281 | + <Target Name="AzureRTScenario" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
| 282 | + <Message Importance="high" Text="Running AzureRT Scenario tests..." /> |
| 283 | + |
| 284 | + <Delete Files="$(TestOutputDirectory)\RTScenarioDebug.trx" /> |
| 285 | + <Exec |
| 286 | + Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(AzureRTTestSettings) /category:AzureRTScenario /resultsfile:$(TestOutputDirectory)\RTScenarioDebug.trx" |
| 287 | + ContinueOnError="false" /> |
| 288 | + </Target> |
| 289 | + |
238 | 290 | <Target Name="AzureRTAllPreview" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
239 | 291 | <Message Importance="high" Text="Running AzureRT all tests..." /> |
240 | 292 | <Delete Files="$(TestOutputDirectory)\RTAddVhdDebug.trx" /> |
|
243 | 295 | Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(TestSettings) /category:Sequential /resultsfile:$(TestOutputDirectory)\RTAddVhdDebug.trx" |
244 | 296 | ContinueOnError="true" /> |
245 | 297 | <Exec |
246 | | - Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(AzureRTTestSettings) /category:$(AzureRTAllTestFilter2) /resultsfile:$(TestOutputDirectory)\RTDebug.trx" |
| 298 | + Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(AzureRTTestSettings) /category:$(AzureRTAllPreviewFilter) /resultsfile:$(TestOutputDirectory)\RTDebug.trx" |
247 | 299 | ContinueOnError="false" /> |
248 | 300 | </Target> |
249 | 301 |
|
|
255 | 307 | ContinueOnError="false" /> |
256 | 308 | </Target> |
257 | 309 |
|
| 310 | + <Target Name="AzureRTCleanUp" DependsOnTargets="Clean;BuildDebug;BeforeRunTests"> |
| 311 | + <Message Importance="high" Text="Running AzureRT clean up tests..." /> |
| 312 | + <Delete Files="$(TestOutputDirectory)\RTCleanUpDebug.trx" /> |
| 313 | + <Exec |
| 314 | + Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(AzureRTTestSettings) /category:AzureRTCleanUp /resultsfile:$(TestOutputDirectory)\RTCleanUpDebug.trx" |
| 315 | + ContinueOnError="false" /> |
| 316 | + </Target> |
| 317 | + |
258 | 318 | <!-- DSC extension related targets --> |
259 | 319 | <Target Name="TestDSCExtension_x64"> |
260 | 320 | <Message Importance="high" Text="Running DSC extension BVT x64 tests..." /> |
|
0 commit comments