From a7e71fe054a23b07cf3297072a02f8173f0d55ce Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 07:49:58 +0000 Subject: [PATCH 1/4] test: opt into MTP test runner Co-authored-by: wforney <79032+wforney@users.noreply.github.com> --- global.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 global.json diff --git a/global.json b/global.json new file mode 100644 index 0000000..3140116 --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "test": { + "runner": "Microsoft.Testing.Platform" + } +} From f92186b00e186a9ecce493e6c4e6c1fc6e8d3a97 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 07:50:37 +0000 Subject: [PATCH 2/4] fix: update dotnet test commands for MTP Co-authored-by: wforney <79032+wforney@users.noreply.github.com> --- .github/copilot-instructions.md | 4 ++-- .github/prompts/improve-coverage.prompt.md | 2 +- .github/workflows/release.yml | 2 +- README.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 8567fc7..4004caa 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -25,10 +25,10 @@ published as individual NuGet packages. Each project corresponds to one NuGet pa dotnet build SharedCode.sln # Run all tests -dotnet test SharedCode.sln +dotnet test --solution SharedCode.sln # Run tests with verbose output and GitHub Actions logging -dotnet test --logger GitHubActions --verbosity normal SharedCode.sln +dotnet test --solution SharedCode.sln --logger GitHubActions --verbosity normal ``` ## Code Conventions diff --git a/.github/prompts/improve-coverage.prompt.md b/.github/prompts/improve-coverage.prompt.md index 499965e..3282464 100644 --- a/.github/prompts/improve-coverage.prompt.md +++ b/.github/prompts/improve-coverage.prompt.md @@ -38,7 +38,7 @@ Follow the conventions in `add-test-class.prompt.md`: ### 4 — Verify ```bash -dotnet test SharedCode.sln +dotnet test --solution SharedCode.sln ``` Zero failures required before merging. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b94afb..d231944 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: dotnet-version: 10.0.x - name: Run Tests - run: dotnet test --logger GitHubActions --verbosity normal SharedCode.sln + run: dotnet test --solution SharedCode.sln --logger GitHubActions --verbosity normal semantic-release: needs: test diff --git a/README.md b/README.md index 1cd8d31..4cc0239 100644 --- a/README.md +++ b/README.md @@ -332,7 +332,7 @@ cd sharedcode dotnet build SharedCode.sln # Run all tests -dotnet test SharedCode.sln +dotnet test --solution SharedCode.sln ``` The solution targets **.NET 8, .NET 9, and .NET 10** for library projects (plus .NET Standard @@ -346,7 +346,7 @@ version 10.0.19041.0 or later. Contributions are welcome! Please follow these steps: 1. Fork the repository and create a feature branch. -2. Make your changes, ensuring all existing tests pass (`dotnet test SharedCode.sln`). +2. Make your changes, ensuring all existing tests pass (`dotnet test --solution SharedCode.sln`). 3. Add or update tests as appropriate. 4. Open a pull request against the `main` branch. From 2e02f1f28bcff2a73a8ad5bb40519064319fc0d9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 07:56:03 +0000 Subject: [PATCH 3/4] fix: remove vstest logger from MTP command Co-authored-by: wforney <79032+wforney@users.noreply.github.com> --- .github/copilot-instructions.md | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 4004caa..d56e1d1 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -27,8 +27,8 @@ dotnet build SharedCode.sln # Run all tests dotnet test --solution SharedCode.sln -# Run tests with verbose output and GitHub Actions logging -dotnet test --solution SharedCode.sln --logger GitHubActions --verbosity normal +# Run tests with verbose output +dotnet test --solution SharedCode.sln --verbosity normal ``` ## Code Conventions diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d231944..84d1ff2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: dotnet-version: 10.0.x - name: Run Tests - run: dotnet test --solution SharedCode.sln --logger GitHubActions --verbosity normal + run: dotnet test --solution SharedCode.sln --verbosity normal semantic-release: needs: test From a5c99ef6155dab34b81d2879246337fa2c6a4cb6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 08:29:51 +0000 Subject: [PATCH 4/4] fix: use positional solution argument for dotnet test commands Co-authored-by: wforney <79032+wforney@users.noreply.github.com> --- .github/copilot-instructions.md | 4 ++-- .github/prompts/improve-coverage.prompt.md | 2 +- .github/workflows/release.yml | 2 +- README.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index d56e1d1..3387087 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -25,10 +25,10 @@ published as individual NuGet packages. Each project corresponds to one NuGet pa dotnet build SharedCode.sln # Run all tests -dotnet test --solution SharedCode.sln +dotnet test SharedCode.sln # Run tests with verbose output -dotnet test --solution SharedCode.sln --verbosity normal +dotnet test SharedCode.sln --verbosity normal ``` ## Code Conventions diff --git a/.github/prompts/improve-coverage.prompt.md b/.github/prompts/improve-coverage.prompt.md index 3282464..499965e 100644 --- a/.github/prompts/improve-coverage.prompt.md +++ b/.github/prompts/improve-coverage.prompt.md @@ -38,7 +38,7 @@ Follow the conventions in `add-test-class.prompt.md`: ### 4 — Verify ```bash -dotnet test --solution SharedCode.sln +dotnet test SharedCode.sln ``` Zero failures required before merging. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84d1ff2..57070d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: dotnet-version: 10.0.x - name: Run Tests - run: dotnet test --solution SharedCode.sln --verbosity normal + run: dotnet test SharedCode.sln --verbosity normal semantic-release: needs: test diff --git a/README.md b/README.md index 4cc0239..1cd8d31 100644 --- a/README.md +++ b/README.md @@ -332,7 +332,7 @@ cd sharedcode dotnet build SharedCode.sln # Run all tests -dotnet test --solution SharedCode.sln +dotnet test SharedCode.sln ``` The solution targets **.NET 8, .NET 9, and .NET 10** for library projects (plus .NET Standard @@ -346,7 +346,7 @@ version 10.0.19041.0 or later. Contributions are welcome! Please follow these steps: 1. Fork the repository and create a feature branch. -2. Make your changes, ensuring all existing tests pass (`dotnet test --solution SharedCode.sln`). +2. Make your changes, ensuring all existing tests pass (`dotnet test SharedCode.sln`). 3. Add or update tests as appropriate. 4. Open a pull request against the `main` branch.