Releases: microsoft/vstest
v17.8.0-release-23468-02
What's Changed
Full Changelog: v17.8.0-preview-23424-02...v17.8.0-release-23468-02
v17.8.0-preview-23424-02
What's Changed
- Add possibility to send telemetry events by data collectors by @jakubch1 in #4622
- Fix timing issue in parallel execution by @nohwnd in #4629
- Document default value for diag trace level by @riQQ in #4640
- Remove process suspend by @nohwnd in #4586
- Make async VSTestConsoleWrapper apis obsolete by @nohwnd in #4648
- Mitigate the usage of JsonConvert.DefaultSettings in user code by @Applesauce314 in #4581
- Set console encoding to UTF8 by @nohwnd in #4649
- Fix executable bitness for testhost.x86 by @nohwnd in #4652
- Change license packages that use .NET Library license to MIT by @nohwnd in #4658
- Fix cannot find System.Text.Json by @nohwnd in #4668
New Contributors
- @riQQ made their first contribution in #4640
- @Applesauce314 made their first contribution in #4581
Full Changelog: v17.8.0-preview-23371-04...v17.8.0-preview-23424-02
v17.7.2
v17.7.1
What's Changed
- Take System dlls from testhost folder to fix running .NET Framework dlls on mono and under VS on Mac in #4610 by @Evangelink
- Fix hangs in parallel execution and discovery in #4629 by @nohwnd
- Fix executable bitness for testhost.x86 in #4654 by @nohwnd
Full Changelog: v17.7.0...v17.7.1
v17.7.0
⚠️ Microsoft.TestPlatform 17.7.0 nuget package is hidden from Nuget.org, we've encountered an unexpected issue with versioning which prevents it from being used in all AzDO clients. We are working on a fix.
The most pressing issues were all backported to 17.6.1, 17.6.2 and 17.6.3.
Issues fixed (since 17.6.3)
-
Don't print socket transport error in console by @nohwnd in #4493 which fixes #4461
When testhost crashes, we no longer print the transport error:---> System.Exception: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..This error is a side-effect or our architecture is almost never the culprit. Instead it leads developers away from the actual issue which is crash of testhost, or datacollector.
-
Pass workloads to proxy managers in #4422 by @nohwnd
Which allows datacollector users to only receive the sources that are currently running in the testhost associated to datacollector, instead of all the sources that have the same target framework. -
Fix Newtonsoft versions in testhost.deps.json in #4367 by @nohwnd
testhost.runtimeconfig.json files that we ship with testhost contained an old version of Newtonsoft.Json. The version in this file does not have an effect on execution, but some compliance tools statically analyze it and report possible vulnerabilities.
Other fixes:
- Replacing calls to BuildMultipleAssemblyPath when passing only one source in acceptance tests in #4358 by @daveMueller
- Check for null Path in #4391 by @lewing
- Remove unused variable in #4425 by @mthalman
- Fix execution gets stucks on single netstandard source by @nohwnd in #4497 which fixes #4392
- TestObject use ConcurrentDictionary instead of Dictionary in #4450 by @Evangelink
- Drop usage of Microsoft.Internal.TestPlatform.Remote in #4456 by @Evangelink
Special thanks to @SimonCropp for the many fixes regarding nullability spelling and code style in #4518, #4520, #4525, #4526, #4521, #4519, #4522, #4529 🙇
Full Changelog: v17.6.3...v17.7.0
Drops
- Microsoft.TestPlatform.ObjectModel : v17.7.0
v17.8.0-preview-23371-04
Issues Fixed
- Take System dlls from testhost folder #4610
- Simplify naming in ExecutionTests
- Fix XmlException when writing Html log with certain test names #4576
Full Changelog: here
Drops
- Microsoft.TestPlatform.ObjectModel : v17.8.0-preview-23371-04
v17.7.0-preview-23364-03
Issues Fixed
- Trim away netframework targets in source-build #4357
- Re-enable publishing nugets, don't continue on error #4356
- Merged PR 30352: arcade into main
- Merged PR 29591: Onboard to arcade
Full Changelog: here
Drops
- Microsoft.TestPlatform.ObjectModel : 17.7.0-preview-23364-03
v17.6.3
v17.6.2
Fixes
This patch addresses the problems that were introduced in 17.6.0 that happen when running on AzDo with the default test.dll filter, which includes additional TestPlatform dlls into the run and fails it.
To mitigate this issue we solved the bug in 17.6.1, and added additional exclusions for known assemblies that are coming from TestPlatform and commonly used test adapters, to avoid trying to run tests from those assemblies.
Description and workarounds for this issue are available here: #4516
- [rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by @nohwnd in #4512
- [rel/17.6] Filter out known platform sources by @nohwnd in #4517
- [rel/17.6] Exclude also known resource dlls by @Evangelink in #4528
Full Changelog: v17.6.1...v17.6.2
Artifacts
TestPlatform vsix: 17.6.2
Microsoft.TestPlatform.ObjectModel : 17.6.2
v17.6.1
Issues Fixed
This is a tiny patch to fixup few latest issues,
-
Fix no-suitable provider found by @nohwnd in #4474 which fixes #4467
When .NET Portable or .NET Standard dlls are provided to the run, the run crashes with "No suitable test runtime provider was found", which is a regression introduced in 17.6.0.

-
Fix hangdump running into crashdump by @nohwnd in #4480 which fixes #4378
Running --blame-hang and --blame-crash at the same time, can result in --blame-hang cancelling --blame-crash, and killing the testhost in the process, resulting in no dumps being created. This fix waits for --blame-crash to finish dumping the process, and then it creates hang dump.
-
Update Nuget.Frameworks by @nohwnd in #4500 which fixes #4409
Internal updates:
- Update dependencies from devdiv/DevDiv/vs-code-coverage by @dotnet-maestro in #4479
- Disable internal build on new pipeline by @nohwnd in #4476
Full Changelog: v17.6.0...v17.6.1