Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/articles/features/vstest.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ In addition, we can still make use of this boolean output to indicate
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet.TestAdapter" Version="0.13.12" />
<PackageReference Include="BenchmarkDotNet.TestAdapter" Version="0.15.8" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May as well update the test sdk also.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also you can use 0.16.0, the docs will get published when the new release is pushed out.

</ItemGroup>

Expand All @@ -82,12 +82,12 @@ In addition, we can still make use of this boolean output to indicate

* **Step 3.** Make sure that your IDE supports VSTest integration.
In Visual Studio, everything works out of the box.
In Rider/R# 2023.3, the VSTest integration should be activated:
In Rider/R#, the VSTest integration might need to be activated:
* Go to the "Unit Testing" settings page.
* Rider: Settings -> Build, Execution, Deployment -> Unit Testing -> VSTest
* R#: Extensions -> ReSharper -> Options -> Tools -> Unit Testing -> Test Frameworks -> VSTest
* Make sure that the "Enable VSTest adapter support" checkbox is checked.
In future versions of Rider, this should be enabled by default.
In recent versions of Rider, this may be enabled by default.
* **Step 4.** Switch to the `Release` configuration.
As mentioned above, the TestAdapter is not able to discover and run benchmarks with optimizations disabled (by design).
* **Step 5.** Build the project.
Expand Down