im5tu/claude

dotnet-enable-testing-platform

Enables the Microsoft Testing Platform runner in global.json. Also use when the user mentions "testing platform," "Microsoft.Testing.Platform," "new test runner," "migrate test runner," "global.json testing," or "modern test platform.

First seen May 20, 2026

Installation

$ npx skills add im5tu/claude --skill dotnet-enable-testing-platform

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from im5tu/claude · top by installs.

npx skills add im5tu/claude

Browse all from im5tu/claude

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 6
License LICENSE
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0
LicenseMIT
Allowed toolsBash(dotnet:*), Read, Edit, Write, Glob, AskUserQuestion
More metadata
author
Im5tu
version
1.0
repositoryUrl
https://github.com/im5tu/dotnet-skills

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,175 B
  • docs SUMMARY.md 272 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 6 installs

SKILL.md

Enable the Microsoft Testing Platform runner for a .NET solution by configuring global.json.

The Microsoft Testing Platform is a test runner with an in-process host and native parallel test execution.

Steps

  1. Find the solution file (*.sln) in the current directory

- If no .sln found, warn and stop

  1. Check for existing global.json in the solution root directory

- Read contents if file exists

  1. Create or update global.json:

- If file does not exist, create it: ``json { "test": { "runner": "Microsoft.Testing.Platform" } } ` - If file exists, merge the test section while preserving all other content: - Parse existing JSON - Add or update the test.runner property - Preserve sdk, msbuild-sdks`, and any other existing sections

  1. Verify JSON validity:

``bash dotnet build dotnet test ``

  1. If build fails, report the error and ask user how to proceed
  1. Report results:

- Confirm global.json was created or updated - Show the final global.json content - Confirm build status - Confirm tests run successfully

Example global.json Configurations

Minimal (new file):

{
  "test": {
    "runner": "Microsoft.Testing.Platform"
  }
}

Merged (existing file with SDK pinning):

{
  "sdk": {
    "version": "8.0.100",
    "rollForward": "latestMinor"
  },
  "test": {
    "runner": "Microsoft.Testing.Platform"
  }
}

Error Handling

  • If no .sln found: warn and stop
  • If global.json exists but is invalid JSON: report error and ask user
  • If build fails after update: show errors and ask user how to proceed