Skip to content

[Repo Assist] eng: sync xunit.runner.visualstudio to 3.1.4 and add coverlet.collector to Tray.Tests #90

@github-actions

Description

@github-actions

🤖 This is an automated contribution from Repo Assist.

Syncs test tooling between the two test projects to reduce future maintenance friction.

Changes

tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj

Package Before After Notes
xunit.runner.visualstudio 3.1.0 3.1.4 Sync with OpenClaw.Shared.Tests
coverlet.collector (missing) 6.0.4 Already present in OpenClaw.Shared.Tests; enables coverage collection

OpenClaw.Shared.Tests already had both packages at the target versions — no changes needed there.

Why

OpenClaw.Tray.Tests was on xunit.runner.visualstudio 3.1.0 while OpenClaw.Shared.Tests was on 3.1.4, and Tray.Tests was missing coverlet.collector entirely. Keeping them in sync avoids different test runner behaviour between the two suites and aligns CI coverage tooling.

Test Status

Tests could not be run in the Linux CI environment (project targets Windows). Changes are limited to package version bumps with no logic impact; the same packages were already validated in OpenClaw.Shared.Tests.

Closes #73

Generated by Repo Assist ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@cbb46ab386962aa371045839fc9998ee4e97ca64

Note

This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch repo-assist/eng-sync-test-tooling-task4-eeb7e5243d259582.

Click here to create the pull request

To fix the permissions issue, go to SettingsActionsGeneral and enable Allow GitHub Actions to create and approve pull requests.

Show patch (36 lines)
From 802b233a643b10ea304567dba04b6305ce787e56 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Fri, 20 Mar 2026 00:58:34 +0000
Subject: [PATCH] eng: sync xunit.runner.visualstudio to 3.1.4 and add
 coverlet.collector to Tray.Tests

- Update xunit.runner.visualstudio from 3.1.0 to 3.1.4 (matches Shared.Tests)
- Add coverlet.collector 6.0.4 (matches Shared.Tests) for coverage reporting

Both test projects now use identical test tooling versions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
 tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj b/tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj
index f795ca7..c322211 100644
--- a/tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj
+++ b/tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj
@@ -8,9 +8,10 @@
   </PropertyGroup>
 
   <ItemGroup>
+    <PackageReference Include="coverlet.collector" Version="6.0.4" />
     <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
     <PackageReference Include="xunit" Version="2.9.3" />
-    <PackageReference Include="xunit.runner.visualstudio" Version="3.1.0" />
+    <PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
   </ItemGroup>
 
   <ItemGroup>
-- 
2.53.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions