Releases: microsoft/vstest
v18.6.0
What's Changed
- Revert removal of Video Recorder by @nohwnd in #15336
- Speed up blame by filtering non-.NET processes from dump collection by @nohwnd in #15518
- Add README.md to NuGet packages by @nohwnd in #15550
- Report child process info on connection timeout by @nohwnd in #15603
Changes to tests and infra
- Brand as 18.6 by @nohwnd in #15423
- Upgrading code coverage version to 18.5.1, by @fhnaseer in #15422
- Updating System.Collections.Immutable to 9.0.11 by @MSLukeWest in #15425
- Fix attachVS when used for debugging integration tests by @nohwnd in #15451
- Replace dotnet.config, with global.json by @nohwnd in #15449
- Document debugging integration tests with AttachVS by @Copilot in #15452
- Fix stack overflow tests by @nohwnd in #15461
- Make TestAssets.sln buildable locally by @Youssef1313 in #15466
- Try filtering out tests by @nohwnd in #15463
- Build just once when tfms run in parallel by @nohwnd in #15465
- Review simplify compatibility sources, deduplicate tests by @nohwnd in #15472
- Cleanup dead TRX code by @Youssef1313 in #15474
- Update .NET runtimes to 8.0.25, 9.0.14, and 10.0.4 by @nohwnd in #15481
- Compat matrix checker by @nohwnd in #15480
- Add trx analysis skill by @nohwnd in #15486
- Split integration tests to single tfm and multi tfm project by @nohwnd in #15484
- Update matrix by @nohwnd in #15477
- Break infinite restore loop in VS by @nohwnd in #15503
- Use global package cache for build, and local for running integration tests by @nohwnd in #15500
- Update contributing by @nohwnd in #15505
- Reduce test wall-clock time by increasing minThreads by @drognanar in #15502
- Indicator flakiness by @nohwnd in #15513
- Fix ci build by @nohwnd in #15515
- Fix thread safety issues by @Evangelink in #15512
- Optimize DotnetSDKSimulation_PostProcessing test (163s → 61s) by @nohwnd in #15516
- Build isolated test assets for single TFM instead of 7 by @nohwnd in #15517
- Remove unused dependencies from Library.IntegrationTests by @nohwnd in #15527
- Remove printing _attachments content to console by @nohwnd in #15520
- Add Linux/macOS test filtering guide to CONTRIBUTING.md by @nohwnd in #15521
- Change integration test parallelization from ClassLevel to MethodLevel by @nohwnd in #15526
- Unify target framework checks with IsNetFrameworkTarget/IsNetTarget by @nohwnd in #15523
- Add unattended work instructions to copilot-instructions.md by @nohwnd in #15531
- Reduce code style rule severity from warning to suggestion by @nohwnd in #15522
- Remove Debug/Release line number branching from tests by @nohwnd in #15519
- Revise unattended work instructions in copilot-instructions.md by @nohwnd in #15532
- Improve CompatibilityRowsBuilder error message with diagnostic details by @nohwnd in #15529
- docs: add git worktree and upstream sync workflow to copilot-instructions.md by @nohwnd in #15538
- Add VSIX runner to smoke tests by @nohwnd in #15541
- Remove deprecated WebTest and TMI test methods by @nohwnd in #15525
- Fix compatibility test failures for legacy vstest.console and MSTest adapter by @nohwnd in #15534
- Convert TestPlatform.sln to slnx format by @nohwnd in #15551
- Convert test/TestAssets .sln files to .slnx format by @nohwnd in #15557
- Enable parallelization for blame data collector tests by @nohwnd in #15552
- Fix CI failure when GeneratedTestAssets directory doesn't exist by @nohwnd in #15556
- Set DOTNET_ROOT in test.sh for local Linux usage by @nohwnd in #15559
- Use MSTest recommended analyzers by @Evangelink in #15539
- Document semicolon handling in RunSettings test parameters by @nohwnd in #15561
- Enable CA1067 analyzer and fix violations by @nohwnd in #15560
- Fix HTML logger parallel file collision with atomic file creation by @nohwnd in #15562
- Deduplicate package extraction between verify-nupkgs and IntegrationTestBuild by @nohwnd in #15554
- Fix MSTEST0046: use Assert.MatchesRegex instead of StringAssert.Matches by @nohwnd in #15575
- Attach diagnostic logs to acceptance test runs by @nohwnd in #15572
- Deprecate EnableShutdownAfterTestRun which is no-op by @Youssef1313 in #15576
- Skip VideoRecorder test on CI due to access denied errors by @nohwnd in #15587
- Fix integration test build collision with mutex + EventWaitHandle by @nohwnd in #15568
- Reduce blame test flakiness: increase hang dump timeout to 10s by @nohwnd in #15590
- Fix concurrent modification in MetricsCollection by @nohwnd in #15581
- Fix PassingNoArguments test: disable --diag to preserve help output by @nohwnd in #15583
- perf: fix dictionary double-lookups, Collection.Contains, and LINQ allocations by @Evangelink in #15533
- Replace VSSDK-sourced DLLs with proper package references by @nohwnd in #15567
- Add target framework to default TRX file name by @nohwnd in #15565
- Update post-build template parameters by @nohwnd in #15591
- Fix path for post-build template and adjust validation by @nohwnd in #15592
- Add azure-pipelines-official.yml to pipeline files by @nohwnd in #15594
- Update comment formatting for signing validation by @nohwnd in #15597
- Fix enable-auto-merge for maestro by @Youssef1313 in #15595
- Auto-approve maestro PRs by @Youssef1313 in #15598
- Update enable-auto-merge to squash by @Youssef1313 in #15602
- Update enable-auto-merge.yml for the correct permissions by @Youssef1313 in #15606
- Add 365 regression tests for untested bug fixes by @nohwnd in #15615
- Fix typos and add comments to empty catch blocks by @nohwnd in #15609
- Fix flaky EventLogCollector test: ensure deterministic event log entries by @nohwnd in #15607
- Mark PathConverter tests as Windows-only by @nohwnd in #15617
- Fix HangDumpOnTimeout flakiness and ignore VideoRecorder test by @nohwnd in #15616
- Add copilot-setup-steps.yml by @nohwnd in #15604
- Add CreateNoNewWindow RunConfiguration setting by @nohwnd in #15585
- Add preview packages documentation by @nohwnd in #15628
- Cleanup filter implementation by @Youssef1313 in #15629
- Fix SCI binding failure in DTA hosts (rel/18.6) by @nohwnd in #15722
- Remove DiagnosticSource binding redirect (rel/18.6) by @nohwnd in #15776
Full Changelog: v18.5.1...v18.6.0
v18.5.1
v18.5.0
What's Changed
- Add runtime configs by @nohwnd in #15377
- Add net8.0 target for TranslationLayer by @nohwnd in #15375
- Determine architecture of remote process on windows by @nohwnd in #15396
- Updating System.Collections.Immutable package reference to version 9.0.0 by @MSLukeWest in #15392
- Dump via netcore tool on windows by @nohwnd in #15397
- Fix answer file splitting by @nohwnd in #15381
- Run tests against vsix runner by @nohwnd in #15419
Full Changelog: v18.4.0...v18.5.0
v18.4.0
What's Changed
-
Refactor Condition evaluation by @Youssef1313 in #15357
-
Adding info on extensions points part 1 by @nohwnd in #15360
-
Add option to ask for uploading code QL before the standard window ends by @nohwnd in #15373
-
Fix .NET 10 regression for traits by @Youssef1313 in #15370
-
Update target frameworks to net10.0 and net11.0 by @dotnet-maestro[bot] in #15349
-
Fix names in pipeline matrix so we don't have to align them by @nohwnd in #15365
-
Update SECURITY.md by @Youssef1313 in #15342
New Contributors
Full Changelog: v18.3.0...v18.4.0
v18.3.0
What's Changed
Internal fixes and updates
- Bump branding to 18.1 by @nohwnd in #15286
- Remove stale copy of S.ComponentModel.Composition from testplatform packages by @ViktorHofer in #15287
- Update codeflow metadata to fix backflow by @premun in #15291
- [main] Update dependencies from devdiv/DevDiv/vs-code-coverage by @dotnet-maestro[bot] in #15283
- Update Microsoft.Build.Utilities.Core by @Youssef1313 in #15300
- Disable DynamicNative instrumentation by default by @nohwnd in #15299
- [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #15293
- [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #15302
- [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #15314
- Delete sha1 custom implementation we are not using for a long time by @nohwnd in #15313
- [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #15315
- Update branding to 18.3.0 by @nohwnd in #15321
- [main] Update dependencies from devdiv/DevDiv/vs-code-coverage by @dotnet-maestro[bot] in #15325
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot] in #15264
- Revert adding dotnet_host_path workaround by @nohwnd in #15328
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot] in #15338
- [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in #15322
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot] in #15343
- Change PreReleaseVersionLabel from 'preview' to 'release' by @nohwnd in #15352
- [rel/18.3] Update dependencies from devdiv/DevDiv/vs-code-coverage by @dotnet-maestro[bot] in #15354
- [rel/18.3] Update dependencies from dotnet/arcade by @dotnet-maestro[bot] in #15389
- [rel/18.3] Update dependencies from dotnet/arcade by @dotnet-maestro[bot] in #15400
- Update build tools to 17.11.48 to be source buildable by @nohwnd in #15310
- Disable publishing on RTM by @nohwnd in #15296
- Don't access nuget.org for package feeds by @nohwnd in #15316
- No nuget access fix tests by @nohwnd in #15317
- Disable Dependabot updates in dependabot.yml by @mmitche in #15324
New Contributors
v18.0.1
What's Changed
Fixing an issue with loading covrun64.dll on systems that have .NET 10 SDK installed: https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/10.0/code-coverage-dynamic-native-instrumentation
- Disable DynamicNative instrumentation by default by @nohwnd in #15298
- Update MicrosoftInternalCodeCoveragePackageVersion to 18.0.6 by @nohwnd in #15312
Internal changes
- Update VersionPrefix to 18.0.1 by @nohwnd in #15301
- Update build tools to 17.8.43 by @nohwnd in #15305
Full Changelog: v18.0.0...v18.0.1
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