Skip to content

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

@github-actions

Description

@github-actions

🤖 This PR was created by Repo Assist, an automated AI assistant.

Summary

Brings OpenClaw.Tray.Tests in line with OpenClaw.Shared.Tests on test tooling:

Package Tray.Tests before Tray.Tests after Shared.Tests
xunit.runner.visualstudio 3.1.0 3.1.4 3.1.4
coverlet.collector (missing) 6.0.4 6.0.4

Microsoft.NET.Test.Sdk and xunit are already aligned (17.14.1 and 2.9.3 respectively).

Why

Consistent test tooling across projects avoids subtle runner-version skews showing up only in one project's CI output, and enables coverage collection from Tray.Tests (previously impossible without coverlet.collector).

Test Status

  • OpenClaw.Tray.Tests: 93 passed, 0 failed ✅ (Linux runner)
  • OpenClaw.Shared.Tests: 503 passed, 18 skipped ✅ (Linux runner)

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-20260320-9c729ded6ca0cabb.

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 22e37c1ae8fc28fc080fd20aa49e6326ffb18c56 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