Skip to content

Commit 2175165

Browse files
youssef-backport-botnohwndYoussef1313
authored
[rel/3.8] Add assembly name (#5247)
Co-authored-by: Jakub Jareš <[email protected]> Co-authored-by: Youssef Victor <[email protected]>
1 parent 5f788a5 commit 2175165

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

samples/Playground/Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class TestClass
1515
[TestMethod]
1616
[DynamicData(nameof(Data))]
1717
public void Test3(int a, int b)
18-
=> Assert.AreNotEqual(a, b);
18+
=> throw new Exception("aaaa");
1919

2020
public static IEnumerable<(int A, int B)> Data
2121
{

src/Platform/Microsoft.Testing.Platform.MSBuild/Tasks/InvokeTestingPlatformTask.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
using Microsoft.Testing.Platform.IPC.Serializers;
1414
using Microsoft.Testing.Platform.Logging;
1515
using Microsoft.Testing.Platform.MSBuild.Tasks;
16+
using Microsoft.Testing.Platform.OutputDevice;
1617

1718
using static Microsoft.Testing.Platform.MSBuild.Tasks.DotnetMuxerLocator;
1819

@@ -488,6 +489,8 @@ private Task<IResponse> HandleRequestAsync(IRequest request)
488489
runSummaryInfoRequest.Total,
489490
runSummaryInfoRequest.Duration);
490491

492+
summary += $" - {Path.GetFileName(TargetPath.ItemSpec)} ({TargetFrameworkParser.GetShortTargetFramework(TargetFramework.ItemSpec)}|{TestArchitecture.ItemSpec})";
493+
491494
if (MSBuildCompatibilityHelper.SupportsTerminalLoggerWithExtendedMessages())
492495
{
493496
var metadata = new Dictionary<string, string?>

0 commit comments

Comments
 (0)