forked from microsoft/vstest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add xunit perf test project. (microsoft#496)
* Add xunit perf test project. Extract common dependencies to a props. * Remove props from gitignore. Add Dependencies file. * Add package id for OM to prefer project reference. * Add two flags LocalizeResources and LocalizedBuild. Don't include all resx files if LocalizedBuild is false to speed up build. * Pick up MSTestAdapterPath from dependency props file in test.ps1. * Add chutzpah as a dependency. Read dependencies from props file in integration tests. Publish testhost to package directory for net46 since it is included in the runner package.
- Loading branch information
Showing
22 changed files
with
60,585 additions
and
467 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<!-- Name of the elements must be in sync with test\Microsoft.TestPlatform.TestUtilities\IntegrationTestBase.cs --> | ||
<NETTestSdkPreviousVersion>15.0.0-preview-20170106-08</NETTestSdkPreviousVersion> | ||
|
||
<MSTestFrameworkVersion>1.0.8-rc2</MSTestFrameworkVersion> | ||
<MSTestAdapterVersion>1.1.10-rc2</MSTestAdapterVersion> | ||
|
||
<XUnitFrameworkVersion>2.2.0</XUnitFrameworkVersion> | ||
<XUnitAdapterVersion>2.2.0</XUnitAdapterVersion> | ||
|
||
<NUnitFrameworkVersion>2.6.4</NUnitFrameworkVersion> | ||
<NUnitAdapterVersion>2.0.0</NUnitAdapterVersion> | ||
|
||
<ChutzpahAdapterVersion>4.2.4</ChutzpahAdapterVersion> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+126 Bytes
(100%)
src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<!-- Package dependency versions --> | ||
<Import Project="..\..\..\scripts\build\TestPlatform.Dependencies.props" /> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net46</TargetFramework> | ||
<AssemblyName>NUTestProject</AssemblyName> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="NUnit"> | ||
<Version>2.6.4</Version> | ||
<Version>$(NUnitFrameworkVersion)</Version> | ||
</PackageReference> | ||
<PackageReference Include="NUnitTestAdapter"> | ||
<Version>1.2.0</Version> | ||
<Version>$(NUnitAdapterVersion)</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' "> | ||
<Reference Include="System.Runtime" /> | ||
<Reference Include="System" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants> | ||
</PropertyGroup> | ||
</Project> |
Binary file not shown.
18 changes: 6 additions & 12 deletions
18
test/TestAssets/SimpleDataCollector/SimpleDataCollector.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-16"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<!-- Package dependency versions --> | ||
<Import Project="..\..\..\scripts\build\TestPlatform.Dependencies.props" /> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>netcoreapp1.0;net46</TargetFrameworks> | ||
<WarningsAsErrors>true</WarningsAsErrors> | ||
<AssemblyName>SimpleDataCollector</AssemblyName> | ||
<AssemblyOriginatorKeyFile>TITestDllKey.snk</AssemblyOriginatorKeyFile> | ||
<SignAssembly>true</SignAssembly> | ||
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign> | ||
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">$(PackageTargetFallback);dnxcore50;portable-net45+win8</PackageTargetFallback> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="MSTest.TestFramework"> | ||
<Version>1.0.4-preview</Version> | ||
<Version>$(MSTestFrameworkVersion)</Version> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.TestPlatform.ObjectModel"> | ||
<Version>15.0.0-*</Version> | ||
<Version>$(NETTestSdkPreviousVersion)</Version> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk"> | ||
<Version>15.0.0-preview-20170106-08</Version> | ||
<Version>$(NETTestSdkPreviousVersion)</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' "> | ||
<Reference Include="System.Runtime" /> | ||
<Reference Include="System" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
</ItemGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants> | ||
</PropertyGroup> | ||
</Project> |
Oops, something went wrong.