What problem does it solve?
Building and testing the vstest repository involves platform-specific scripts, a self-bootstrapped .NET SDK, and subtle pitfalls like OS/toolchain mismatches and DOTNET_ROOT misconfiguration that cause confusing failures. This Skill guides you through the correct build, test, and validation workflow so changes are verified reliably.
Core Features & Use Cases
- Environment Verification: Detects mismatches between the current OS and the bootstrapped
.dotnet toolchain, cleaning and re-bootstrapping when needed.
- Build Orchestration: Covers full builds with
--pack, single-project builds, restore-only runs, and Release configuration packaging.
- Test Execution: Runs unit, smoke, integration, performance, and compatibility test suites with correct per-platform switches and name filters.
- Manual Validation: Explains how to unzip the built Microsoft.TestPlatform NuGet package and run a locally built vstest.console against test projects.
- Use Case: After modifying the HtmlLogger, use this Skill to run
./build.sh --pack, execute the HtmlLogger unit tests via a project glob, and validate the produced vstest.console artifact.
Quick Start
Build the vstest repository and run the unit tests for my changes, then show me how to validate the locally built vstest.console.