Skip to content

Avalonia test runner: UI revamp#3189

Draft
xen2 wants to merge 1 commit into
stride3d:masterfrom
xen2:feature/test-runner-ux
Draft

Avalonia test runner: UI revamp#3189
xen2 wants to merge 1 commit into
stride3d:masterfrom
xen2:feature/test-runner-ux

Conversation

@xen2
Copy link
Copy Markdown
Member

@xen2 xen2 commented May 24, 2026

Avalonia test runner: UI revamp

Rebuilds the interactive test runner (Avalonia window shown when a Stride test exe is launched with STRIDE_TESTS_INTERACTIVE=1).

Highlights

  • Filter textbox (auto-focused) + status chips (All / Passed / Failed / Skipped / Not run) with live counts.
  • Per-row run buttons: test mode (gold compare diff) & interactive run (preview only, doesn't close window)
  • Re-run failed + Run filtered/selected with Ctrl+R / F5 shortcuts.
  • Multi-select in the tree.
  • Save image checkbox (forces save on success) and RenderDoc capture-mode dropdown (Never / On error / Always).
  • Inspect pane: failure message + stack trace + live-streamed stdout/stderr with Warning: / Error: tinting.
  • Summary bar with running pass/fail/skip totals and elapsed time.
  • Keyboard nav: / or Ctrl+F to focus filter, Esc to clear, Up/Down/PageUp/PageDown from the filter to navigate the tree, Enter / Shift+Enter to run / preview.
  • Dark theme + responsive layout (toolbar wraps, main split flips vertical on narrow / portrait viewports).

A screenshot is worth a thousand words:

image

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

@xen2 xen2 marked this pull request as draft May 24, 2026 14:30
@github-actions
Copy link
Copy Markdown

🤖 Draft PR — automatic CI is skipped to save runner minutes.

  • /ci main — what would auto-run if this PR weren't draft
  • /ci allmain + screenshot regression (/ci e2e)
  • /ci help — full list, per-platform and per-suite

Marking ready-for-review re-enables full CI automatically.

Icon="/Assets/avalonia-logo.ico"
Title="XUnit Runner (Stride)">
Title="XUnit Runner (Stride)"
Background="#1E1E1E">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should use a color from the theme so that if the users prefers a light theme it picks the corresponding background color. Or no color as I think the theme as one by default.

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="xunit.runner.stride.App"
RequestedThemeVariant="Light">
RequestedThemeVariant="Dark">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably be Default instead so that it follows the system theme.

@xen2 xen2 force-pushed the feature/test-runner-ux branch from 2adbbd3 to 2bb694c Compare May 25, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants