Skip to content
Agentmart
Submit a tool

dotnet-enable-testing-platform

Enables the Microsoft Testing Platform runner in global.json.

Skill by Im5tu

IndexedMIT★ 6
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/im5tu-dotnet-enable-testing-platform

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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."

Use cases: testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dotnet-enable-testing-platform

Tools it pre-approves 6

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash(dotnet:*),
  • Read,
  • Edit,
  • Write,
  • Glob,
  • AskUserQuestion

What's inside

Skill name
dotnet-enable-testing-platform
Description
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."
License
MIT
Allowed tools
Bash(dotnet:*),, Read,, Edit,, Write,, Glob,, AskUserQuestion
Metadata
author: Im5tu · version: 1.0 · repositoryUrl: https://github.com/im5tu/dotnet-skills
Instructions
71 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (1)

  • SKILL.md

SKILL.md (first lines)

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

2. **Check for existing global.json** in the solution root directory
   - Read contents if file exists

3. **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

4. **Verify JSON validity**:
   ```bash
   dotnet build
   dotnet test
   ```

5. **If build fails**, report the error and ask user how to proceed

6. **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):**
```json
{
  "test": {
    "runner": "Microsoft.Testing.Platform"
  }
}
```

**Merged (existing file with SDK pinning):**
```json
{
  "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

From Im5tu/claude, MIT.

More from Im5tu/claude

Signals

Stars
6
Forks
3
Open issues
0
Last commit (this folder)
Aug 21, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Im5tu

Cite this page

dotnet-enable-testing-platform skill. Agent Mart. https://agentmart.dev/skills/im5tu-dotnet-enable-testing-platform (last updated 2026-10-24)