Geo News
Community curated by people like you
LatestAICryptoHealthWorld AffairsUS Politics
Microsoft Releases Open-Source AI Agent for Automated Unit Test Generation
00

Microsoft Releases Open-Source AI Agent for Automated Unit Test Generation

Aug 6, 2026

Microsoft released code-testing-generator on July 31, 2026, an open-source AI agent designed to automate unit test generation across any programming language. Operating via a research-plan-implement (RPI) pipeline, the agent analyzes repositories, plans and writes tests, and validates them by checking assertions and running test suites. The agent is available via the dotnet-test plugin on GitHub, supporting GitHub Copilot CLI and Visual Studio Code in preview.

Code-testing-generator agent release

  • ▪The code-testing-generator agent currently supports only unit tests, while integration, end-to-end, browser, and performance tests remain outside its scope
  • ▪The dotnet-test plugin works with GitHub Copilot CLI and is available in Visual Studio Code and VS Code Insiders as a preview feature
  • ▪The code-testing-generator agent is available through the dotnet-test plugin in the dotnet/skills repository on GitHub
  • ▪Microsoft released code-testing-generator, an open-source AI agent that generates unit tests in any programming language, on July 31, 2026
  • ▪The code-testing-generator agent learns from a user's software repository to plan, write, and verify unit tests before completion

Research-plan-implement pipeline architecture

  • ▪During planning, the code-testing-generator agent maps behaviors to test files, starting with simple code before progressing to code with more dependencies
  • ▪The code-testing-generator agent coordinates test generation using a research-plan-implement pipeline that analyzes the repository to identify languages, frameworks, existing tests, and build commands
  • ▪Based on workload, the code-testing-generator agent selects from three execution paths: Direct, Single pass (or One-pass), and Iterative

Test validation quality checks

  • ▪The code-testing-generator agent validates tests by checking for weak or missing assertions, ensuring requested scenarios are covered, and testing if small code changes cause failures
  • ▪The code-testing-generator agent's validation process includes building the workspace, running the test suite, and confirming the repository's test command detects the new tests

2 sources

Opensourceforu
AI Agent Automates Unit Test Generation - Open Source For You
View source article
Infoworld
Microsoft releases open-source agent that generates unit tests
View source article

Featured stories

View more in Open-source AI

OpenAI announces Codex cloud environments, Decisions API and Ultrafast tier at DevDay 2026

Sep 29, 2026 · 7 sources

OpenAI unveils ChatGPT overhaul with shared workspaces, plugin system, and $500 monthly tier at DevDay

Sep 29, 2026 · 13 sources

Nvidia releases Open Agent Safety Platform to contain AI agents after security incidents

Sep 28, 2026 · 8 sources

Microsoft revamps Copilot with unified app for business and consumers

Sep 25, 2026 · 4 sources

Story comments

Loading comments…

Related Projects

Microsoft

Topics

Open-source AIAI agentsAI for developersAI coding assistants

Featured stories

View more in Open-source AI

OpenAI announces Codex cloud environments, Decisions API and Ultrafast tier at DevDay 2026

Sep 29, 2026 · 7 sources

OpenAI unveils ChatGPT overhaul with shared workspaces, plugin system, and $500 monthly tier at DevDay

Sep 29, 2026 · 13 sources

Nvidia releases Open Agent Safety Platform to contain AI agents after security incidents

Sep 28, 2026 · 8 sources

Microsoft revamps Copilot with unified app for business and consumers

Sep 25, 2026 · 4 sources