Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit be7b270

Browse files
committedMar 14, 2025·
Address
1 parent 4a892c2 commit be7b270

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed
 

‎eng/Versions.props

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22
<PropertyGroup Label="Version settings">
33
<!-- MSTest version -->
4-
<VersionPrefix>3.10.0</VersionPrefix>
4+
<VersionPrefix>3.9.0</VersionPrefix>
55
<!-- Testing Platform version -->
6-
<TestingPlatformVersionPrefix>1.8.0</TestingPlatformVersionPrefix>
6+
<TestingPlatformVersionPrefix>1.7.0</TestingPlatformVersionPrefix>
77
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
88
</PropertyGroup>
99
<PropertyGroup Label="MSTest prod dependencies - darc updated">

‎samples/Playground/Tests.cs

+1-1
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

+1-4
Original file line numberDiff line numberDiff line change
@@ -489,10 +489,7 @@ private Task<IResponse> HandleRequestAsync(IRequest request)
489489
runSummaryInfoRequest.Total,
490490
runSummaryInfoRequest.Duration);
491491

492-
if (_moduleInfo != null)
493-
{
494-
summary += $" - {TargetPath.ItemSpec} ({TargetFrameworkParser.GetShortTargetFramework(TargetFramework.ItemSpec)}|{TestArchitecture.ItemSpec})";
495-
}
492+
summary += $" - {Path.GetFileName(TargetPath.ItemSpec)} ({TargetFrameworkParser.GetShortTargetFramework(TargetFramework.ItemSpec)}|{TestArchitecture.ItemSpec})";
496493

497494
if (MSBuildCompatibilityHelper.SupportsTerminalLoggerWithExtendedMessages())
498495
{

0 commit comments

Comments
 (0)
Please sign in to comment.