Open olstakh opened 2 hours ago
Steps to reproduce
TestAdapter
Test.Sdk
[BenchmarkCategory("MyTest1")]
[BenchmarkCategory("MyTest2")]
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
dotnet test
Is that filter behavior the same without the TestAdapter?
cc @caaavik-msft
Steps to reproduce
TestAdapter
package +Test.Sdk
)[BenchmarkCategory("MyTest1")]
and[BenchmarkCategory("MyTest2")]
attributesdotnet 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