Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The codebase ships several distinct (but related) products. Knowing which produc

- `src/Platform/Microsoft.Testing.Platform` — Microsoft.Testing.Platform (MTP), a lightweight, in-process test host that replaces VSTest. Most other folders under `src/Platform/` are MTP extensions (`TrxReport`, `CrashDump`, `HangDump`, `HotReload`, `Retry`, `Telemetry`, `HtmlReport`, `AzureDevOpsReport`, `MSBuild`, `VSTestBridge`, …).
- `src/TestFramework` — MSTest itself: the public `Microsoft.VisualStudio.TestTools.UnitTesting` API (attributes, `Assert`, `TestContext`, …) plus `TestFramework.Extensions`.
- `src/Adapter` — bridges MSTest to test hosts: `MSTest.TestAdapter` (VSTest adapter), `MSTestAdapter.PlatformServices` (platform-services abstraction shared by both hosts), and `MSTest.Engine` (MTP-native execution engine used by source-generated tests).
- `src/Adapter` — bridges MSTest to test hosts: `MSTest.TestAdapter` (VSTest adapter) and `MSTestAdapter.PlatformServices` (platform-services abstraction shared by both hosts).
- `src/Analyzers` — Roslyn analyzers and code fixes shipped as `MSTest.Analyzers`.
- `src/Package/MSTest.Sdk` — the MSBuild project SDK that wires the pieces together for consumers.
- `test/UnitTests/<Project>.UnitTests` — fast unit tests for each project.
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/add-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ Analyze the pull request diff to identify source files that were added or modifi
- `src/TestFramework/` → `test/UnitTests/TestFramework.UnitTests/`
- `src/Adapter/MSTest.TestAdapter/` → `test/UnitTests/MSTestAdapter.UnitTests/`
- `src/Adapter/MSTestAdapter.PlatformServices/` → `test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/`
- `src/Adapter/MSTest.Engine/` → `test/UnitTests/MSTest.Engine.UnitTests/`
- `src/Analyzers/MSTest.Analyzers/` → `test/UnitTests/MSTest.Analyzers.Tests/` (if exists)
- `src/Analyzers/MSTest.SourceGeneration/` → `test/UnitTests/MSTest.SourceGeneration.UnitTests/`
- `src/Platform/` → `test/UnitTests/` (find matching test project by name)
Expand Down
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@

<!-- Versioning -->
<PropertyGroup>
<MSTestEnginePreReleaseVersionLabel>alpha</MSTestEnginePreReleaseVersionLabel>
<MSTestSourceGenerationPreReleaseVersionLabel>alpha</MSTestSourceGenerationPreReleaseVersionLabel>

<!--
This is a early preview package, keep 2.0.0-alpha or similar suffix even in official builds.
-->
<MSTestEngineVersionPrefix>2.0.0</MSTestEngineVersionPrefix>
<MSTestSourceGenerationVersionPrefix>2.0.0</MSTestSourceGenerationVersionPrefix>
</PropertyGroup>

<!-- Pack config -->
Expand Down
1 change: 0 additions & 1 deletion MSTest.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"samples\\FxExtensibility\\FxExtensibility.csproj",
"samples\\NUnitPlayground\\NUnitPlayground.csproj",
"samples\\Playground\\Playground.csproj",
"src\\Adapter\\MSTest.Engine\\MSTest.Engine.csproj",
"src\\Adapter\\MSTest.TestAdapter\\MSTest.TestAdapter.csproj",
"src\\Adapter\\MSTestAdapter.PlatformServices\\MSTestAdapter.PlatformServices.csproj",
"src\\Analyzers\\MSTest.Analyzers.CodeFixes\\MSTest.Analyzers.CodeFixes.csproj",
Expand Down
1 change: 0 additions & 1 deletion NonWindowsTests.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"solution": {
"path": "TestFx.slnx",
"projects": [
"src\\Adapter\\MSTest.Engine\\MSTest.Engine.csproj",
"src\\Adapter\\MSTest.TestAdapter\\MSTest.TestAdapter.csproj",
"src\\Adapter\\MSTestAdapter.PlatformServices\\MSTestAdapter.PlatformServices.csproj",
"src\\Analyzers\\MSTest.Analyzers.CodeFixes\\MSTest.Analyzers.CodeFixes.csproj",
Expand Down
2 changes: 0 additions & 2 deletions TestFx.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<Project Path="src/Platform/Microsoft.Testing.Platform/Microsoft.Testing.Platform.csproj" />
</Folder>
<Folder Name="/src/2 - Adapter/">
<Project Path="src/Adapter/MSTest.Engine/MSTest.Engine.csproj" />
<Project Path="src/Adapter/MSTest.TestAdapter/MSTest.TestAdapter.csproj" />
<Project Path="src/Adapter/MSTestAdapter.PlatformServices/MSTestAdapter.PlatformServices.csproj" />
</Folder>
Comment thread
Evangelink marked this conversation as resolved.
Expand Down Expand Up @@ -133,7 +132,6 @@
<Project Path="test/UnitTests/Microsoft.Testing.Platform.MSBuild.UnitTests/Microsoft.Testing.Platform.MSBuild.UnitTests.csproj" />
<Project Path="test/UnitTests/Microsoft.Testing.Platform.UnitTests/Microsoft.Testing.Platform.UnitTests.csproj" />
<Project Path="test/UnitTests/MSTest.Analyzers.UnitTests/MSTest.Analyzers.UnitTests.csproj" />
<Project Path="test/UnitTests/MSTest.Engine.UnitTests/MSTest.Engine.UnitTests.csproj" />
<Project Path="test/UnitTests/MSTest.SelfRealExamples.UnitTests/MSTest.SelfRealExamples.UnitTests.csproj" />
<Project Path="test/UnitTests/MSTest.SourceGeneration.UnitTests/MSTest.SourceGeneration.UnitTests.csproj" />
<Project Path="test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/MSTestAdapter.PlatformServices.UnitTests.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Below is the equivalent project configuration when not using MSTest.Sdk
<PackageReference Include="Microsoft.Testing.Extensions.TrxReport" Version="$(TestingPlatformVersion)" />
<PackageReference Include="Microsoft.Testing.Platform.MSBuild" Version="$(TestingPlatformVersion)" />
<PackageReference Include="MSTest.Analyzers" Version="$(MSTestVersion)" />
<PackageReference Include="MSTest.Engine" Version="$(MSTestAOTVersion)" />
<PackageReference Include="MSTest.SourceGeneration" Version="$(MSTestAOTVersion)" />
<PackageReference Include="MSTest.TestAdapter" Version="$(MSTestVersion)" />
<PackageReference Include="MSTest.TestFramework" Version="$(MSTestVersion)" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,17 @@

<ItemGroup>
<!--
Experimental MSTest Engine & source generator,
close sourced, licensed the same as our extensions
with Microsoft Testing Platform Tools license.
MSTest source generator for Native AOT support. Emits reflection-free metadata
that MSTest consumes at runtime through the source-generation hook.
-->
<PackageReference Include="MSTest.Engine" Version="$(MSTestAOTVersion)" />
<PackageReference Include="MSTest.SourceGeneration" Version="$(MSTestAOTVersion)" />

<PackageReference Include="Microsoft.CodeCoverage.MSBuild" Version="$(CodeCoverageVersion)" />
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" Version="$(CodeCoverageVersion)" />

<PackageReference Include="Microsoft.Testing.Extensions.TrxReport" Version="$(TestingPlatformVersion)" />
<PackageReference Include="Microsoft.Testing.Platform.MSBuild" Version="$(TestingPlatformVersion)" />
<PackageReference Include="MSTest.TestAdapter" Version="$(MSTestVersion)" />
<PackageReference Include="MSTest.TestFramework" Version="$(MSTestVersion)" />
<PackageReference Include="MSTest.Analyzers" Version="$(MSTestVersion)">
<PrivateAssets>all</PrivateAssets>
Expand Down
2 changes: 0 additions & 2 deletions src/Adapter/MSTest.Engine/.editorconfig

This file was deleted.

91 changes: 0 additions & 91 deletions src/Adapter/MSTest.Engine/Assertions/AssertFailedException.cs

This file was deleted.

6 changes: 0 additions & 6 deletions src/Adapter/MSTest.Engine/BannedSymbols.txt

This file was deleted.

10 changes: 0 additions & 10 deletions src/Adapter/MSTest.Engine/BuildInfo.cs.template

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions src/Adapter/MSTest.Engine/Configurations/ConfigurationWrapper.cs

This file was deleted.

9 changes: 0 additions & 9 deletions src/Adapter/MSTest.Engine/Configurations/IConfiguration.cs

This file was deleted.

This file was deleted.

111 changes: 0 additions & 111 deletions src/Adapter/MSTest.Engine/Engine/BFSTestNodeVisitor.cs

This file was deleted.

13 changes: 0 additions & 13 deletions src/Adapter/MSTest.Engine/Engine/ITestArgumentsEntry.cs

This file was deleted.

Loading
Loading