-
Notifications
You must be signed in to change notification settings - Fork 288
Use EasyNamedPipes for dotnet test protocol #6814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| <ItemGroup Label="Product dependencies"> | ||
| <!-- If this gets updated, please revise if the explicit dependency on System.Diagnostics.DiagnosticSource is still needed --> | ||
| <PackageVersion Include="Microsoft.ApplicationInsights" Version="2.23.0" /> | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Revert unnecessary blank line change.
| <PackageVersion Include="Microsoft.Playwright.MSTest.v4" Version="$(MicrosoftPlaywrightVersion)" /> | ||
| </ItemGroup> | ||
| </Project> | ||
| </Project> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add back blank line to the end of the file.
| namespace Microsoft.Testing.Platform.IPC.Models; | ||
|
|
||
| internal sealed record CommandLineOptionMessage(string? Name, string? Description, bool? IsHidden, bool? IsBuiltIn); | ||
| internal sealed record CommandLineOptionMessage( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we missing the attribute here?
| namespace Microsoft.Testing.Platform.IPC.Models; | ||
|
|
||
| internal sealed record DiscoveredTestMessage(string? Uid, string? DisplayName, string? FilePath, int? LineNumber, string? Namespace, string? TypeName, string? MethodName, string[]? ParameterTypeFullNames, TestMetadataProperty[] Traits); | ||
| internal sealed record DiscoveredTestMessage( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we missing the attribute here?
| namespace Microsoft.Testing.Platform.IPC.Models; | ||
|
|
||
| internal sealed record FileArtifactMessage(string? FullPath, string? DisplayName, string? Description, string? TestUid, string? TestDisplayName, string? SessionUid); | ||
| internal sealed record FileArtifactMessage( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we missing the attribute here?
| namespace Microsoft.Testing.Platform.IPC.Models; | ||
|
|
||
| internal sealed record SuccessfulTestResultMessage(string? Uid, string? DisplayName, byte? State, long? Duration, string? Reason, string? StandardOutput, string? ErrorOutput, string? SessionUid); | ||
| internal sealed record SuccessfulTestResultMessage( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
| [property: PipePropertyId(8)] string? SessionUid); | ||
|
|
||
| internal sealed record FailedTestResultMessage(string? Uid, string? DisplayName, byte? State, long? Duration, string? Reason, ExceptionMessage[]? Exceptions, string? StandardOutput, string? ErrorOutput, string? SessionUid); | ||
| internal sealed record FailedTestResultMessage( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
src/Platform/Microsoft.Testing.Platform/ServerMode/DotnetTest/IPC/Models/TestResultMessages.cs
Show resolved
Hide resolved
| [property: PipePropertyId(4)] bool? IsBuiltIn); | ||
|
|
||
| internal sealed record CommandLineOptionMessages(string? ModulePath, CommandLineOptionMessage[]? CommandLineOptionMessageList) : IRequest; | ||
| [PipeSerializableMessage("DotNetTestProtocol", 3)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we extract the message ID constants to a static class?
Co-authored-by: Youssef Victor <[email protected]>
Fixes #6351