platform-detection

Detect .NET test platforms and frameworks from project files.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ojrojas/AgentsInstructions --skill platform-detection-ojrojas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: platform-detection
Source: https://github.com/ojrojas/AgentsInstructions/tree/main/.claude/skills/dotnet-test/skills/platform-detection
Command: npx skills add https://github.com/ojrojas/AgentsInstructions --skill platform-detection-ojrojas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identifies the test platform (VSTest vs Microsoft.Testing.Platform) and test framework (MSTest, xUnit, NUnit, TUnit) a project uses, allowing for correct execution of testing scripts.

Core Features & Use Cases

  • Test Platform Detection: Determines whether a project uses VSTest or Microsoft.Testing.Platform.
  • Test Framework Identification: Determines which test framework is in use, such as MSTest, xUnit, NUnit, or TUnit.
  • Project File Analysis: Reads project files and props to identify test configurations.

Quick Start

Use the platform-detection skill to determine the test platform and framework for a .NET project.

Frequently Asked Questions about platform-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect the test framework used in a .NET project?

You can detect the test framework in a .NET project by analyzing project files and props. This process identifies whether MSTest, xUnit, NUnit, or TUnit is configured for your tests.

What is the difference between VSTest and Microsoft.Testing.Platform?

VSTest and Microsoft.Testing.Platform are distinct test execution platforms for .NET. Detecting which one a project uses involves reading project files to determine the correct platform for running testing scripts.

Can I identify the test platform from .NET project files automatically?

Yes, you can identify the test platform automatically by reading project files and props. This detection determines whether a project relies on VSTest or Microsoft.Testing.Platform for execution.

How do I know if my .NET project uses MSTest, xUnit, NUnit, or TUnit?

To know if your .NET project uses MSTest, xUnit, NUnit, or TUnit, you need test framework identification. This is achieved by reading and analyzing the project's configuration files and props.

Why does test platform detection matter for running .NET testing scripts?

Test platform detection matters because it identifies whether VSTest or Microsoft.Testing.Platform is used, allowing for the correct execution of testing scripts. Without it, scripts may fail to run properly.