Parasoft extends your AI coding agent with the ability to detect and automatically fix C# and Visual Basic static analysis violations. The integration is built around the dottest-analyzer skill — a non-interactive, fully autonomous workflow that runs dotTEST analysis, collects violations, applies each fix, verifies the result, and optionally commits the changes.

The skill works with any .NET solution and integrates with the following coding agents using an installation script that automates setup:

  • GitHub Copilot CLI
  • OpenAI Codex CLI

Additionally, the skill can be integrated with any coding agent that supports MCP tools, and skills.

The dottest-analyzer skill enables end-to-end automated static analysis and repair:

  • Running dotTEST static analysis against your .NET solution using any built-in or custom test configuration
  • Collecting violations from the generated report, filtering them by severity, rule, or file scope, and ranking them in prioritized order
  • Fixing violations automatically
  • Verifying fixes by re-running dotTEST static analysis incrementally after each change and comparing against the baseline report — ensuring that the same violation is resolved and no new violations are introduced
  • Executing an optimized set of unit tests using TIA (Test Impact Analysis) to verify that the static analysis fixes do not break code functionality
  • Committing fixes individually as separate Git commits
  • Limiting scope to a project, file, directory, or branch diff

For details regarding installation and configuration of the skill, as well as its capabilities, usage examples, best practices, and CI/CD integration workflow, refer to the README document located at: https://github.com/parasoft/dottest-ai-agent-skills. A demo project is also available at: https://github.com/parasoft/dottest-ai-agent-demo.

  • No labels