materialdesigninxaml/materialdesigninxamltoolkit/mtp-test-running
Claude Code and agent skill by materialdesigninxaml/materialdesigninxamltoolkit
- community
Checking that the SKILL.md file is still in the repository.
Run MaterialDesignInXamlToolkit tests correctly with dotnet test, TUnit, and Microsoft Testing Platform. Use when validating changes, choosing a safe test scope, or filtering to the exact affected tests.
Install
npx vskill@latest install materialdesigninxaml/materialdesigninxamltoolkit/mtp-test-runningSKILL.md
The same SKILL.md was published earlier as materialdesigninxaml/materialdesigninxamltoolkit/mtp-test-running.
Test running with MTP
Use this skill when you need to run or suggest test commands in this repository.
Repository-specific runner setup
- Test projects use
UseMicrosoftTestingPlatformRunner=true. - Test projects also set
TestingPlatformDotnetTestSupport=true. global.jsondoes not opt intotest.runner = Microsoft.Testing.Platform.- That means this repo currently uses
dotnet testin the legacy CLI mode while delegating execution to MTP-backed test applications. - Runner-specific arguments must therefore be passed after an extra
--. - Do not rely on top-level
dotnet test --filter ...for these projects.
Strong preferences
- Start with the smallest non-UI test scope that covers the change.
- Avoid
MaterialDesignThemes.UITestsunless the change is inherently runtime WPF behavior. - Only run UI tests after the user explicitly asks or grants permission.
- When UI tests are necessary, run only the affected tests, never the whole UI suite.
TUnit filter syntax
TUnit uses --treenode-filter.
Format:
/<Assembly>/<Namespace>/<Class>/<Test>
- Use
*as a wildcard within a segment. - Use
(A)|(B)inside a segment for OR. - Prefer exact class and test names over namespace-wide filters.
- Add
--minimum-expected-tests <n>so an empty selection fails loudly.
Command patterns
Example targeted non-UI test run
Example targeted UI validation
Verify a UI filter before running
Mistakes to avoid
- Using top-level
dotnet test --filter ...for these MTP-backed projects. - Passing runner-specific flags before the extra
--. - Running broad UI suites when one or two targeted tests are enough.
- Forgetting
--minimum-expected-tests, which can hide a bad filter.
Useful references
global.jsontests/MaterialDesignThemes.Wpf.Tests/MaterialDesignThemes.Wpf.Tests.csprojtests/MaterialDesignThemes.UITests/MaterialDesignThemes.UITests.csproj- https://learn.microsoft.com/dotnet/core/testing/unit-testing-with-dotnet-test
- https://tunit.dev/docs/execution/test-filters
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/mtp-test-running/SKILL.md
Popularity
- Repository stars
- 16,170
- Repository forks
- 3,502
- 7-day trend score
- 48
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/materialdesigninxaml/materialdesigninxamltoolkit/mtp-test-running)