Conversation
There was a problem hiding this comment.
Pull Request Overview
Migrates the logger from VSTest to Microsoft.Testing.Platform, replacing the VSTest logger with a Testing Platform extension that reports to GitHub Actions.
- Introduces a TestReporter extension (data consumer and session lifetime handler) with command-line options.
- Updates summary/annotation generation and internal models (TestOutcome, TestResult, TestDefinition), removing VSTest-specific code.
- Adjusts the template and statistics to align with the new outcome model.
Reviewed Changes
Copilot reviewed 25 out of 25 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| GitHubActionsTestLogger/Utils/Extensions/TestRunCriteriaExtensions.cs | Removed VSTest-specific test run settings parsing. |
| GitHubActionsTestLogger/Utils/Extensions/TestResultExtensions.cs | Removed VSTest-specific source info parsing and stack frame logic. |
| GitHubActionsTestLogger/Utils/Extensions/TestCaseExtensions.cs | Removed VSTest-specific name parsing helpers. |
| GitHubActionsTestLogger/Utils/Extensions/TestPlatformExtensions.cs | Adds helper to read single CLI option arguments from Microsoft.Testing.Platform. |
| GitHubActionsTestLogger/TestingPlatformBuilderHook.cs | Adds Testing Platform builder hook to register GitHub reporting. |
| GitHubActionsTestLogger/TestSummaryTemplate.cshtml | Switches to new TestOutcome enum (uses None vs NotFound) and cleans up imports. |
| GitHubActionsTestLogger/TestRunStatistics.cs | Aligns overall outcome with new enum (removes NotFound branch). |
| GitHubActionsTestLogger/TestResult.cs | New internal model for test results. |
| GitHubActionsTestLogger/TestReporterOptionsProvider.cs | Defines CLI options and validation for the new reporter. |
| GitHubActionsTestLogger/TestReporterOptions.cs | New options for reporter and resolver from CLI. |
| GitHubActionsTestLogger/TestReporterExtension.cs | Extension metadata and enablement. |
| GitHubActionsTestLogger/TestReporterContext.cs | Core context for formatting annotations and writing the summary. |
| GitHubActionsTestLogger/TestReporter.cs | Implements IDataConsumer and ITestSessionLifetimeHandler to report results. |
| GitHubActionsTestLogger/TestOutcome.cs | New internal TestOutcome enum and mapping from Testing Platform states. |
| GitHubActionsTestLogger/TestLoggerOptions.cs | Removed old VSTest logger options. |
| GitHubActionsTestLogger/TestLoggerContext.cs | Removed old VSTest logger context. |
| GitHubActionsTestLogger/TestLogger.cs | Removed old VSTest logger. |
| GitHubActionsTestLogger/TestDefinition.cs | New internal model for test definitions and metadata. |
| GitHubActionsTestLogger/GitHubWorkflow.cs | Class made internal; used by reporter/summary. |
| GitHubActionsTestLogger/GitHubReportExtensions.cs | Registers reporter and options provider in the TestApplicationBuilder. |
| GitHubActionsTestLogger/GitHubActionsTestLogger.csproj | Replaces VSTest package with Microsoft.Testing.Platform. |
| GitHubActionsTestLogger.Tests/* | Updates tests to use TestReporterContext and TestReporterOptions. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
vstest to Microsoft.Testing.Platform (#43)vstest to Microsoft.Testing.Platform
This was referenced Feb 9, 2026
Closed
This was referenced Feb 16, 2026
This was referenced Feb 23, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #41
Based on #43 by @Evangelink