dotnet / dotnet/BenchmarkDotNet

Multiple `SimpleJob` attributes generate too many options in test adapter in Rider

Open
#2,497 1 comment 0 reactions 1 assignee Claimed by @AndreyAkinshin View on GitHub
Dominant language
C#
Stars
11.5k
Forks
1.1k
Avg merge
6d 11h
Merged PRs (30d)
12

Description

This is best explained with a screenshot, in Rider 2023.3.2:

A single `SimpleJob` attribute causes these options to be generated, as expected:

![image](https://github.com/dotnet/BenchmarkDotNet/assets/7913492/c386581f-3c75-4158-965a-1de46c61b4ac)

Adding a second one and recompiling causes this:

![image](https://github.com/dotnet/BenchmarkDotNet/assets/7913492/811baa3d-68ed-44e0-8dfc-d28d4386629a)

Here's the commit I used for the repro, if needed: https://github.com/Abc-Arbitrage/ZeroLog/commit/24416fdbe6169138ceef509060b08e67d3428ae6

Oh, and thanks for this feature, it's great! 😎

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.