Claude Code Plugins

Community-maintained marketplace

Feedback
0
0

Create and maintain WPF UI tests and ViewModel tests for the .NET 8 widget host app. Use when setting up UI automation, testing MVVM logic, or building a test harness for widgets and the shell.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name testing-wpf
description Create and maintain WPF UI tests and ViewModel tests for the .NET 8 widget host app. Use when setting up UI automation, testing MVVM logic, or building a test harness for widgets and the shell.

Testing Wpf

Overview

Cover UI behavior and ViewModel logic without coupling tests to WPF internals.

Core areas

  • ViewModel unit tests
  • UI automation tests
  • Test harness for widget windows

Workflow

  1. Write ViewModel tests for commands, state, and validation.
  2. Use UI automation sparingly for critical flows.
  3. Keep UI tests stable by controlling test data and timings.
  4. Build a test harness that can host widgets and shell views.

Guidance

  • Prefer ViewModel tests over UI automation where possible.
  • Avoid fragile selector strategies in UI tests.
  • Keep test runs isolated from user desktop state.

References

  • references/ui-testing.md for UI automation strategy.
  • references/viewmodel-tests.md for MVVM test patterns.
  • references/test-harness.md for widget test host setup.