trx-analysis Skill
Parse and analyze Visual Studio TRX test result files. Use when asked about slow tests, test durations, test frequency, flaky tests, failure analysis, or test execution patterns from TRX files. Published by microsoft in vstest.
What is trx-analysis Skill?
Parse and analyze Visual Studio TRX test result files. Use when asked about slow tests, test durations, test frequency, flaky tests, failure analysis, or test execution patterns from TRX files. Published by microsoft in vstest. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Data analysis
- Testing use cases
- Data analysis use cases
Technical details
- Install or run with Copy skill directory
When to use trx-analysis Skill
- Use it for testing.
- Use it for data analysis.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/vstest
- Skill file: .github/skills/trx-analysis/SKILL.md
What it does
Parse and analyze Visual Studio TRX test result files. Use when asked about slow tests, test durations, test frequency, flaky tests, failure analysis, or test execution patterns from TRX files.
Skill instructions
TRX Test Results Analysis Parse .trx files (Visual Studio Test Results XML) to answer questions about test performance, frequency, failures, and patterns. TRX File Format TRX files use XML namespace http://microsoft.com/schemas/VisualStudio/TeamTest/2010. Key elements: - TestRun.Results.UnitTestResult — individual test executions with testName, duration (HH:mm:ss.fffffff), outcome (Passed/Failed/NotExecuted) - TestRun.TestDefinitions.UnitTest — test metadata including class and method info - TestRun.ResultSummary — aggregate pass/fail/skip counts Loading a TRX File powershell [xml]$trx = Get-Content "path/to/file.trx" $results = $trx.TestRun.Results.UnitTestResult Common Queries Top N slowest tests powershell $results | ForEach-Object { [PSCustomObject]@{ Test = $.testName Seconds = [TimeSpan]::Parse($.duration).TotalSeconds Outcome = $.outcome } } | Sort-Object Seconds -Descending | Select-Object -First 25 | Format-Table @{L='Sec';E={'{0,6:N1}' -f $.Seconds}}, Outcome, Test -AutoSize
Explore related resources
Frequently asked questions
What is trx-analysis?
trx-analysis is a open-source AI agent skill with Copy skill directory. Parse and analyze Visual Studio TRX test result files. Use when asked about slow tests, test durations, test frequency, flaky tests, failure analysis, or test execution patterns from TRX files.
Who is trx-analysis best for?
trx-analysis is best for reusing agent instructions, scripts, and references, testing workflows, data analysis workflows.
How do I install trx-analysis?
Install or run trx-analysis using Copy skill directory. Check trx-analysis for the latest setup command.
Is trx-analysis actively maintained?
trx-analysis may need a closer maintenance check before production use.
Auto-fetched from GitHub.