filter-syntax Skill
Reference data for test filter syntax across all platform and framework combinations: VSTest --filter expressions, MTP filters for MSTest/NUnit/xUnit v3/TUnit, and VSTest-to-MTP filter translation. DO NOT USE directly — loaded by run-tests, mtp-hot-reload, and migrate-vstest-to-mtp when they need filter syntax. Published by microsoft in testfx.
What is filter-syntax Skill?
Reference data for test filter syntax across all platform and framework combinations: VSTest --filter expressions, MTP filters for MSTest/NUnit/xUnit v3/TUnit, and VSTest-to-MTP filter translation. DO NOT USE directly — loaded by run-tests, mtp-hot-reload, and migrate-vstest-to-mtp when they need filter syntax. Published by microsoft in testfx. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Data analysis
- Testing use cases
- Data analysis use cases
Technical details
- Install or run with Copy skill directory
When to use filter-syntax Skill
- Use it for testing.
- Use it for data analysis.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/testfx
- Skill file: .agents/skills/filter-syntax/SKILL.md
What it does
Reference data for test filter syntax across all platform and framework combinations: VSTest --filter expressions, MTP filters for MSTest/NUnit/xUnit v3/TUnit, and VSTest-to-MTP filter translation. DO NOT USE directly — loaded by run-tests, mtp-hot-reload, and migrate-vstest-to-mtp when they need filter syntax.
Skill instructions
Test Filter Syntax Reference Filter syntax depends on the platform and test framework. VSTest filters (MSTest, xUnit v2, NUnit on VSTest) bash dotnet test --filter <EXPRESSION Expression syntax: <Property<Operator<Value[|&<Expression] Operators: | Operator | Meaning | |----------|---------| | = | Exact match | | != | Not exact match | | ~ | Contains | | !~ | Does not contain | Combinators: | (OR), & (AND). Parentheses for grouping: (A|B)&C Supported properties by framework: | Framework | Properties | |-----------|-----------| | MSTest | FullyQualifiedName, Name, ClassName, Priority, TestCategory | | xUnit | FullyQualifiedName, DisplayName, Traits | | NUnit | FullyQualifiedName, Name, Priority, TestCategory | An expression without an operator is treated as FullyQualifiedName~<value. Examples (VSTest): bash Run tests whose name contains "LoginTest" dotnet test --filter "Name~LoginTest" Run a specific test class dotnet test --filter "ClassName=MyNamespace.MyTestClass" Run tests in a categ
Explore related resources
Frequently asked questions
What is filter-syntax?
filter-syntax is a open-source AI agent skill with Copy skill directory. Reference data for test filter syntax across all platform and framework combinations: VSTest --filter expressions, MTP filters for MSTest/NUnit/xUnit v3/TUnit, and VSTest-to-MTP filter translation.
Who is filter-syntax best for?
filter-syntax is best for reusing agent instructions, scripts, and references, testing workflows, data analysis workflows.
How do I install filter-syntax?
Install or run filter-syntax using Copy skill directory. Check filter-syntax for the latest setup command.
Is filter-syntax actively maintained?
filter-syntax may need a closer maintenance check before production use.
Auto-fetched from GitHub.