Releases: microsoft/vstest
v18.0.0
What's Changed
- Update reporting formatting by @martincostello in #15082
- Fix stack trace for Trace.Fail and Debug.Fail by @nohwnd in #15103
- Add documentation of environment variables by @Copilot in #15095
- IFrameworkHandle.LaunchProcessWithDebuggerAttached allows null for workingDirectory in signature but throws by @Copilot in #15091
- Add Dependabot configuration for .NET SDK updates by @JamieMagee in #15114
- Handle dotnet_root in testhost version aware way by @nohwnd in #15184
- Add magic bytes validation for Mach-O binaries in DotnetHostHelper by @Copilot in #15230
- using globbing pattern doesn't work on windows with forward slashes by @Copilot in #15088
- Remove tpv0 by @nohwnd in #15247
- Cache AssemblyName in ManagedNameHelper by @Youssef1313 in #15259
- Add ARM64 support to GetArchitectureForSource methods by @Copilot in #15278
Internal fixes and updates
- Fix formatting in two files by @ViktorHofer in #15047
- Build TestPlatform packages in VMR by @ViktorHofer in #15055
- Condition property on .NET FX MSBuild by @jaredpar in #15054
- Migrate to awesome assertions by @nohwnd in #15056
- Revert "Build TestPlatform packages in VMR" by @ViktorHofer in #15057
- Update package Category by @ViktorHofer in #15058
- Revert "Write props of tests into trx" by @nohwnd in #15080
- Error on unsupported tfms (#15072) by @nohwnd in #15073
- Use policies from testfx to align by @nohwnd in #15085
- Update enable-auto-merge.yml by @nohwnd in #15102
- Revert ignoring environment test by @Copilot in #15094
- unignore tests by @Copilot in #15093
- Update MSTest by @Youssef1313 in #15108
- Bump dotnet-sdk from 9.0.106 to 9.0.301 by @dependabot[bot] in #15179
- Use Assert.Equals by @nohwnd in #15181
- Run VSTest tests with MTP by @Youssef1313 in #15079
- Use the standard sdk for architecture switch test by @nohwnd in #15188
- Remove CUIT (Coded UI Test) from NuGet packages and test projects by @Copilot in #15177
- dump-logs? by @nohwnd in #15187
- Moving to version 18 by @nohwnd in #15209
- Update fakes version by @drognanar in #15227
- Microsoft.Intellitrace.Core should be taken from nuget by @nohwnd in #15229
- Remove MSTest.Assert.Extensions by @Youssef1313 in #15178
- Sourcebuild fix by @nohwnd in #15239
- Set dotnet_root_ only when the architecture of dotnet in the path is the same by @nohwnd in #15250
- Remove fakes v1 from FakesUtilities by @drognanar in #15251
- Update fakes dependencies by @drognanar in #15254
- Do half the work in GetManagedName by @Youssef1313 in #15255
- check Vsix only when produced by @nohwnd in #15261
- Set dotnet_root_ always by @nohwnd in #15266
- Don't hardcode old vswhere version in global.json by @akoeplinger in #15267
- Revert dowgrade of fakes by @nohwnd in #15263
- Update VSSDK to version with code flow guard by @nohwnd in #15279
- Update Fakes to version with code flow guard by @nohwnd in #15273
- Add es-metadata.yml by @Youssef1313 in #15276
- Avoid iterator in TraitCollection.GetTraits by @Youssef1313 in #15249
- MSDia update by @nohwnd in #15281
- Use sdk.paths in global.json by @Youssef1313 in #15258
New Contributors
- @jaredpar made their first contribution in #15054
- @Copilot made their first contribution in #15094
- @JamieMagee made their first contribution in #15114
- @dependabot[bot] made their first contribution in #15179
Full Changelog: v17.14.1...v18.0.0
v17.14.1
v17.14.0
What's Changed
.NET versions updated
This version of VS Test upgraded .NET to net8 and net9. All projects targeting net6.0 (or other end-of-life .NET target frameworks) should pin their version of Microsoft.NET.Test.SDK to 17.13.0, or update the projects to net8 or newer. We remain backwards compatible with previous versions of Microsoft.NET.Test.SDK. This change does NOT prevent you from:
- Updating to the latest VS, and running tests from net6.0 test projects.
- Updating to the latest .NET SDK, and running tests from net6.0 test projects.
It also has no impact on .NET Framework projects, where we continue targeting .NET Framework 4.6.2.
Changes
- Adding Process Query Flag For UWP .NET 9 Support by @adstep in #15003
- Fix builds on WinUI and UWP .NET 9 projects by @Sergio0694 in #15004
- don't report communication error on discovery abort by @nohwnd in #14992
- Add dump minitool to vsix by @nohwnd in #14707
- Make test runners long-path aware (#5179) by @peetw in #15014
- Fix trace in DataCollectionRequestSender.cs by @stan-sz in #15025
- Fix/readme grammar parallelism by @dellch in #15030
- Add binding redirects by @nohwnd in #15041
- Write props of tests into trx by @nohwnd in #14905
Internal version updates and fixes
- Update io.redist by @nohwnd in #13872
- Use preview image for public build by @nohwnd in #13888
- Remove xcopy-msbuild by @nohwnd in #14138
- Move to macos14 by @nohwnd in #14137
- Update diagnose.md by @nohwnd in #14776
- hash with sha2 for mutex lock by @nohwnd in #14777
- Update test projects for vmr by @nohwnd in #14894
- 17.14 branding by @nohwnd in #14903
- Update filter.md for NUnit by @OsirisTerje in #14987
- Flag netstandard1.x dependencies in source-build by @ViktorHofer in #14986
- Use VS dependencies versions from release VS to have archived symbols by @nohwnd in #14991
- Remove extra ; by @nohwnd in #14995
- Use dependencymodel 6.0.2 by @nohwnd in #14996
- Make Testhost packable only on Windows by @mmitche in #15001
- Add system text json to vsix by @nohwnd in #15034
- Add more files to vsix by @nohwnd in #15038
- Remove unnecessary CA2022 suppressions by @Winniexu01 in #15035
- Update package project url by @mmitche in #15040
New Contributors
- @OsirisTerje made their first contribution in #14987
- @adstep made their first contribution in #15003
- @Sergio0694 made their first contribution in #15004
- @peetw made their first contribution in #15014
- @dellch made their first contribution in #15030
- @Winniexu01 made their first contribution in #15035
Full Changelog: v17.13.0...v17.14.0
v17.14.0-preview-25107-01
What's Changed
.NET versions updated
This version of VS Test upgraded .NET to net8 and net9. All projects targeting net6.0 (or other end-of-life .NET target frameworks) should pin their version of Microsoft.NET.Test.SDK to 17.13.0, or update the projects to net8 or newer. We remain backwards compatible with previous versions of Microsoft.NET.Test.SDK. This change does NOT prevent you from:
- Updating to the latest VS, and running tests from net6.0 test projects.
- Updating to the latest .NET SDK, and running tests from net6.0 test projects.
It also has no impact on .NET Framework projects, where we continue targeting .NET Framework 4.6.2.
Changes
- Adding Process Query Flag For UWP .NET 9 Support by @adstep in #15003
- Fix builds on WinUI and UWP .NET 9 projects by @Sergio0694 in #15004
- don't report communication error on discovery abort by @nohwnd in #14992
- Add dump minitool to vsix by @nohwnd in #14707
Internal version updates and fixes
- Update io.redist by @nohwnd in #13872
- Use preview image for public build by @nohwnd in #13888
- Remove xcopy-msbuild by @nohwnd in #14138
- Move to macos14 by @nohwnd in #14137
- Update diagnose.md by @nohwnd in #14776
- hash with sha2 for mutex lock by @nohwnd in #14777
- Update test projects for vmr by @nohwnd in #14894
- 17.14 branding by @nohwnd in #14903
- Update filter.md for NUnit by @OsirisTerje in #14987
- Flag netstandard1.x dependencies in source-build by @ViktorHofer in #14986
- Use VS dependencies versions from release VS to have archived symbols by @nohwnd in #14991
- Remove extra ; by @nohwnd in #14995
- Use dependencymodel 6.0.2 by @nohwnd in #14996
- Make Testhost packable only on Windows by @mmitche in #15001
Will probably revert before release:
New Contributors
- @OsirisTerje made their first contribution in #14987
- @adstep made their first contribution in #15003
- @Sergio0694 made their first contribution in #15004
Full Changelog: v17.13.0...v17.14.0-preview-25107-01
v17.13.0
What's Changed
-
Add letter number among valid identifiers in class name by @nohwnd in #13868
-
Enable native debugging for vstest.console by @ocitrev in #10401
-
Fix RFCs links by @Youssef1313 in #10424
-
Update source-build team references by @MichaelSimons in #10388
-
Exclude .signature.p7s from nupkg file count by @ellahathaway in #10418
-
Set NetCurrent so that it doesn't roll forward automatically by @ViktorHofer in #10622
New Contributors
- @ocitrev made their first contribution in #10401
- @Youssef1313 made their first contribution in #10424
Full Changelog: v17.12.0...v17.13.0
v17.12.0
What's Changed
- Dispose IDisposables in HtmlTransformer by @omajid in #5099
- Dipose XmlReaders in Microsoft.TestPlatform.Common.RunSettings by @omajid in #5100
- use some collection expressions by @SimonCropp in #5055
- Fix Reference typos by @SimonCropp in #5155
- Add option to overwrite trx without warning by @nohwnd in #5141
Internal and infrastructure fixes:
- Downgrade xunit skip warning to info by @nohwnd in #10379
- Fallback to latest runtimeconfig when none is found by @nohwnd in #5136
- Verify architecture and version of produced exes by @nohwnd in #5134
- Fix runtime config tests by @nohwnd in #5137
- Dispose helper when parsing args by @nohwnd in #5126
- Cleanup and bump required runtimes by @Evangelink in #5139
- Fix help warnings by @nohwnd in #5140
- Fix timing in simple log by @nohwnd in #5143
- Check vstest.console.dll instead of .exe by @nohwnd in #5149
- Report version from nuget check by @nohwnd in #5161
- Move IncludeSourceRevisionInInformationalVersion by @nohwnd in #5166
- Enable or disable new logger based on TL flag by @nohwnd in #5167
- Updating Microsoft.CodeCoverage package structure by @fhnaseer in #5169
- Wait for Discovery to initialize before Cancelling it by @nohwnd in #5177
- Adding condition to disable MsCoverage refrenced path maps by @fhnaseer in #5189
- Forward error output from testhost as info by @nohwnd in #5192
- Update Microsoft.Extensions.DependencyModel to 3.1.0 by @nohwnd in #5188
- ExcludeFromSourceBuild->ExcludeFromSourceOnlyBuild by @mmitche in #10354
- Enable policheck by @jakubch1 in #10363
Full Changelog: v17.11.1...v17.12.0
v17.11.1
v17.11.0
What's Changed
- Add reference to the AdapterUtilities library in the spec docs. by @peterwald in #4958
- Stack trace when localized, and new messages by @nohwnd in #4944
- Fix single quote and space in F# pretty methods by @nohwnd in #4969
- Update .NET runtimes to latest patch version by @Evangelink in #4975
- Update dotnetcoretests.md by @DickBaker in #4977
- Add list of known TestingPlatform dlls by @nohwnd in #4983
- Update framework version used for testing, and test matrix by @nohwnd in #4970
- Add output forwarding for .NET by @nohwnd in #4988
- Remove usage of pt images before decomissioning by @nohwnd in #4994
- chore: Add more details to acquistion section. by @voroninp in #4999
- Simplify banner by @nohwnd in #5013
- Forward standard output of testhost by @nohwnd in #4998
- Add missing copyright header by @MichaelSimons in #5020
- Add option to not share .NET Framework testhosts by @nohwnd in #5018
- GetTypesToLoad Attribute cant be null by @SimonCropp in #5054
- rawArgument in GetArgumentList cant be null by @SimonCropp in #5056
- fix Atribute typo by @SimonCropp in #5057
- remove unnecessary list alloc for 2 scenarios in TestRequestManager.GetSources by @SimonCropp in #5058
- fix incompatiblity typo by @SimonCropp in #5059
- remove redundant inline method in IsPlatformIncompatible by @SimonCropp in #5060
- fix Sucess typo by @SimonCropp in #5061
- use some null coalescing by @SimonCropp in #5062
- Add cts into friends of TranslationLayer by @jakubch1 in #5075
- Use built in sha1 for id generation by @nohwnd in #5081
- All output in terminal logger by @nohwnd in #5083
- Ignore env test by @nohwnd in #5095
- Dispose XmlReader in XmlRunSettingsUtilities by @omajid in #5094
- Bump to macos-12 build image by @akoeplinger in #5101
- Handle ansi escape in terminal logger reporter by @nohwnd in #5084
- remove disable interactive auth by @nohwnd in #5110
- Error output as info in terminal logger by @nohwnd in #5113
- Write dll instead of target on abort, rename errors by @nohwnd in #5115
-
- [rel/17.11] Update dependencies from devdiv/DevDiv/vs-code-coverage by @dotnet-maestro in #5152
New Contributors
- @peterwald made their first contribution in #4958
- @DickBaker made their first contribution in #4977
- @voroninp made their first contribution in #4999
- @akoeplinger made their first contribution in #5101
Full Changelog: v17.10.0...v17.11.0-release-24352-06
v17.11.0-release-24373-02
What's Changed
- [rel/17.11] Update dependencies from devdiv/DevDiv/vs-code-coverage by @dotnet-maestro in #5152
Full Changelog: v17.11.0-release-24352-06...v17.11.0-release-24373-02
v17.11.0-release-24352-06
What's Changed
- Add reference to the AdapterUtilities library in the spec docs. by @peterwald in #4958
- Stack trace when localized, and new messages by @nohwnd in #4944
- Fix single quote and space in F# pretty methods by @nohwnd in #4969
- Update .NET runtimes to latest patch version by @Evangelink in #4975
- Update dotnetcoretests.md by @DickBaker in #4977
- Add list of known TestingPlatform dlls by @nohwnd in #4983
- Update framework version used for testing, and test matrix by @nohwnd in #4970
- Add output forwarding for .NET by @nohwnd in #4988
- Remove usage of pt images before decomissioning by @nohwnd in #4994
- chore: Add more details to acquistion section. by @voroninp in #4999
- Simplify banner by @nohwnd in #5013
- Forward standard output of testhost by @nohwnd in #4998
- Add missing copyright header by @MichaelSimons in #5020
- Add option to not share .NET Framework testhosts by @nohwnd in #5018
- GetTypesToLoad Attribute cant be null by @SimonCropp in #5054
- rawArgument in GetArgumentList cant be null by @SimonCropp in #5056
- fix Atribute typo by @SimonCropp in #5057
- remove unnecessary list alloc for 2 scenarios in TestRequestManager.GetSources by @SimonCropp in #5058
- fix incompatiblity typo by @SimonCropp in #5059
- remove redundant inline method in IsPlatformIncompatible by @SimonCropp in #5060
- fix Sucess typo by @SimonCropp in #5061
- use some null coalescing by @SimonCropp in #5062
- Add cts into friends of TranslationLayer by @jakubch1 in #5075
- Use built in sha1 for id generation by @nohwnd in #5081
- All output in terminal logger by @nohwnd in #5083
- Ignore env test by @nohwnd in #5095
- Dispose XmlReader in XmlRunSettingsUtilities by @omajid in #5094
- Bump to macos-12 build image by @akoeplinger in #5101
- Handle ansi escape in terminal logger reporter by @nohwnd in #5084
- remove disable interactive auth by @nohwnd in #5110
- Error output as info in terminal logger by @nohwnd in #5113
- Write dll instead of target on abort, rename errors by @nohwnd in #5115
New Contributors
- @peterwald made their first contribution in #4958
- @DickBaker made their first contribution in #4977
- @voroninp made their first contribution in #4999
- @akoeplinger made their first contribution in #5101
Full Changelog: v17.10.0...v17.11.0-release-24352-06