You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is an example of an extention to TestPropertyAttribute (RFC):
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MSTestV2Ex;
namespace MSTestV2Ex
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class SmokeTest : TestPropertyAttribute
{
public SmokeTest()
: base("SmokeTest", null)
{
}
}
}
namespace UnitTestProject20
{
[TestClass]
public class UnitTest1
{
[TestMethod]
[SmokeTest]
public void TestMethod1()
{
}
[TestMethod]
public void TestMethod2()
{
}
}
}
Filtering and Grouping from within the Visual Studio IDE’s TestExplorer works.
However, filtering using the /TestCaseFilter switch on the CLI is not working.
It ought to be supported in a manner similar to how I am able to filter on TestProperty.
AB#2078175
The text was updated successfully, but these errors were encountered:
Here is an example of an extention to
TestPropertyAttribute
(RFC):Filtering and Grouping from within the Visual Studio IDE’s TestExplorer works.
However, filtering using the
/TestCaseFilter
switch on the CLI is not working.It ought to be supported in a manner similar to how I am able to filter on
TestProperty
.AB#2078175
The text was updated successfully, but these errors were encountered: