Skip to content

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

@github-actions

Description

@github-actions

πŸ€– This is an automated contribution from Repo Assist.

Aligns test tooling in OpenClaw.Tray.Tests with OpenClaw.Shared.Tests.

Changes

  • Upgrades xunit.runner.visualstudio from 3.1.0 β†’ 3.1.4 (matches Shared.Tests)
  • Adds coverlet.collector 6.0.4 (present in Shared.Tests, missing from Tray.Tests) β€” enables code-coverage collection via dotnet test --collect:"XPlat Code Coverage"

Why

The two test projects were using slightly different test tooling versions, making it harder to run consistent coverage reports across the solution. This brings them into sync.

Test Status

Passed! - Failed: 0, Passed: 93, Skipped: 0, Total: 93  (OpenClaw.Tray.Tests)
Passed! - Failed: 0, Passed: 503, Skipped: 18, Total: 521  (OpenClaw.Shared.Tests)

Closes #73
Closes #74

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-81ebe971884e2a34-f6106c08106af89a-bc7120c9b8332402.

Click here to create the pull request

To fix the permissions issue, go to Settings β†’ Actions β†’ General and enable Allow GitHub Actions to create and approve pull requests.

Show patch (36 lines)
From 64343466686bf6fa7d72b26f2aee72bde24b6d00 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