## Motivation I have a PR where there are many new xUnit tests. It would also be useful to create new xUnit tests for public APIs. The number of xUnit tests will increase and their ordering is required. ## PR Summary - Move C# xUnit tests in new folder. This allows to put new xUnit tests in directory structure in accordance with directory structure where cs files are. - Use an xUnit TestCaseOrderer attribute to sequentially process tests for `powershell.config.json`. - Update README.md - A race condition was fixed which allowed to run all XUnit tests in single batch job.
30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
|
|
|
<Import Project="../Test.Common.props"/>
|
|
|
|
<PropertyGroup>
|
|
<Description>PowerShell xUnit Tests</Description>
|
|
<AssemblyName>powershell-tests</AssemblyName>
|
|
<GenerateProgramFile>true</GenerateProgramFile>
|
|
<RuntimeIdentifiers>win7-x86;win7-x64;osx-x64;linux-x64</RuntimeIdentifiers>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<DelaySign>true</DelaySign>
|
|
<AssemblyOriginatorKeyFile>../../src/signing/visualstudiopublic.snk</AssemblyOriginatorKeyFile>
|
|
<SignAssembly>true</SignAssembly>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../../src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj"/>
|
|
<ProjectReference Include="../../src/Microsoft.PowerShell.Commands.Diagnostics/Microsoft.PowerShell.Commands.Diagnostics.csproj"/>
|
|
<ProjectReference Include="../../src/Microsoft.WSMan.Management/Microsoft.WSMan.Management.csproj"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="xunit" Version="2.4.1" />
|
|
<PackageReference Include="Xunit.SkippableFact" Version="1.3.12" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
|
|
<PackageReference Include="XunitXml.TestLogger" Version="2.0.0" />
|
|
</ItemGroup>
|
|
</Project>
|