Skip to content

Conversation

Copy link

Copilot AI commented Dec 18, 2025

After TUnit migration, CI workflows failed with "Unknown option '--logger'" because the test runner scripts were still using VSTest/xUnit arguments incompatible with Microsoft.Testing.Platform.

Changes:

  • Updated .github/actions/run-dotnet-tests/run-unix.sh to use --report-trx and --report-trx-filename
  • Updated .github/actions/run-dotnet-tests/run-win.ps1 with matching TUnit arguments
  • Removed legacy --logger "trx;LogFileName=..." syntax

Before:

dotnet test --project "$PROJECT_PATH" -c "$CONFIGURATION" -f "$tfm" --no-build \
         --logger "trx;LogFileName=testResults-$tfm.trx" \
         --results-directory "$RESULTS_DIR"

After:

dotnet test --project "$PROJECT_PATH" -c "$CONFIGURATION" -f "$tfm" --no-build \
         --report-trx --report-trx-filename "testResults-$tfm.trx" \
         --results-directory "$RESULTS_DIR"

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Upgrade LocalStack Aspire to .NET 10 and TUnit migration fix(ci): replace --logger with TUnit-compatible test arguments Dec 18, 2025
Copilot AI requested a review from Blind-Striker December 18, 2025 15:32
@github-actions
Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@Blind-Striker Blind-Striker deleted the copilot/sub-pr-20-another-one branch December 19, 2025 09:19
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