# Generate unit tests for your modernized code with AWS Transform for .NET

DevFeed: [Generate unit tests for your modernized code with AWS Transform for .NET](<https://devfeed.tech/articles/generate-unit-tests-for-your-modernized-code-with-aws-transform-for-net-65230.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/dotnet/generate-unit-tests-for-your-modernized-code-with-aws-transform-for-net/>)

Author: Pradeep Patel

Published: 2026-10-05T20:03:28Z

Content type: tutorial

Language: en

Sources: [.NET on AWS Blog](<https://devfeed.tech/sources/net-on-aws-blog.md>)

Topics: [mutation-testing](<https://devfeed.tech/topics/mutation-testing.md>), [AWS Transform](<https://devfeed.tech/topics/aws-transform.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Unit testing](<https://devfeed.tech/topics/unit-testing.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [automated](<https://devfeed.tech/tags/automated.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [aws-iam](<https://devfeed.tech/tags/aws-iam.md>), [aws-iam-identity-center](<https://devfeed.tech/tags/aws-iam-identity-center.md>), [aws-transform](<https://devfeed.tech/tags/aws-transform.md>), [net](<https://devfeed.tech/tags/net.md>), [net-10](<https://devfeed.tech/tags/net-10.md>), [net-framework](<https://devfeed.tech/tags/net-framework.md>), [tests](<https://devfeed.tech/tags/tests.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

## AI overview

AWS Transform for .NET can generate unit tests for code during or after modernization of .NET Framework applications. The tutorial explains how the agent assesses testability, plans coverage for testable classes, and generates tests in Visual Studio. Developers can opt in at the start of a transformation or after reviewing the modernized code.

## Source excerpt

When you modernize a .NET Framework application to modern .NET, you end up with a transformed, buildable codebase -- but the question that immediately follows is always the same: how do I safely keep changing it from here? Once the code is modernized, your team keeps evolving it -- fixing bugs, adding features, upgrading dependencies [...]