|
32 | 32 | <AzureRTSeqAllFilter>"AzureRTUpload|Sequential|Network"</AzureRTSeqAllFilter>
|
33 | 33 | </PropertyGroup>
|
34 | 34 |
|
| 35 | + <ItemGroup> |
| 36 | + <XUnitTests Include=".\src\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll"/> |
| 37 | + <XUnitTests Include=".\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll"/> |
| 38 | + <XUnitTests Include=".\src\ServiceManagement\Services\Commands.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Test.dll"/> |
| 39 | + <XUnitTests Include=".\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll"/> |
| 40 | + <XUnitTests Include=".\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll"/> |
| 41 | + <XUnitTests Include=".\src\ResourceManager\StreamAnalytics\Commands.StreamAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.StreamAnalytics.Test.dll"/> |
| 42 | + <XUnitTests Include=".\src\ResourceManager\Batch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll"/> |
| 43 | + <XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/> |
| 44 | + <XUnitTests Include=".\src\ServiceManagement\ManagedCache\Commands.ManagedCache.Test\bin\Debug\Microsoft.Azure.Commands.ManagedCache.Test.dll"/> |
| 45 | + <XUnitTests Include=".\src\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll"/> |
| 46 | + <XUnitTests Include=".\src\ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Test.dll"/> |
| 47 | + <XUnitTests Include=".\src\ServiceManagement\StorSimple\Commands.StorSimple.Test\bin\Debug\Microsoft.WindowsAzure.Commands.StorSimple.Test.dll"/> |
| 48 | + </ItemGroup> |
| 49 | + |
35 | 50 | <Target Name="InvokeMSTest">
|
36 | 51 | <!--Remove existing test result; otherwsie mstest will error-->
|
37 | 52 | <Delete Files="$(_testResult)"/>
|
38 | 53 | <Exec
|
39 | 54 | Command="MSTest.exe /testcontainer:$(_testAssembly) /testsettings:$(_testSettings) /category:$(_testFilter) /resultsfile:$(_testResult)"
|
40 | 55 | ContinueOnError="false" />
|
41 | 56 | </Target>
|
| 57 | + |
| 58 | + <Target Name="InvokeXUnit"> |
| 59 | + <Message Importance="high" Text="Running XUnit tests" /> |
| 60 | + <MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" /> |
| 61 | + <Xunit.Runner.MSBuild.xunit Assemblies="@(XUnitTests)" Html="$(TestOutputDirectory)\xunit.tests.dll.html" Verbose="true" |
| 62 | + ExcludeTraits="$(XUnitExcludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false"/> |
| 63 | + </Target> |
42 | 64 |
|
43 | 65 | <Target Name="BeforeRunTests">
|
44 | 66 | <Message Importance="high" Text="You are required to have installed a version of Visual Studio with support for MSTest (and MSTest on your path)." />
|
|
0 commit comments