Closed as duplicate of#2662
Description
When running benchmark with dotnet test
with --filter
arguments.
TestAdapter ignore --filter
parameter and returns all available benchmarks
How to reproduce issue
Run following command and confirms all benchmarks are listed.
dotnet test BenchmarkDotNet.sln -c Release --list-tests -tl:off --filter DummyFilter
Background
I want to run specific tests only on GitHub Actions with workflow_dispatch
trigger with custom inputs (filter
text)
to reduce test CI time.
But current TestAdapter behavior blocks targeting entire solution as test target.
It need to specify individual project path to exclude project that using TestAdapter
.
Metadata
Metadata
Assignees
Labels
No labels