-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Milestone
Description
Steps to reproduce
- Follow https://benchmarkdotnet.org/articles/features/vstest.html (console project +
TestAdapter
package +Test.Sdk
) - Define 2 benchmarks with different
[BenchmarkCategory("MyTest1")]
and[BenchmarkCategory("MyTest2")]
attributes - Run
dotnet test -c Release --filter "Category=MyTest1"
Expected: 1 benchmark executed (category attribute is being added as a trait )
Actual: both benchmarks executed
Also [unrelated] - are these benchmarks supposed to show up in Test Explorer in VS? I'd assume they would, since dotnet test
picks them up
0.14.0 version of TestAdapter is used
Metadata
Metadata
Assignees
Labels
No labels