Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Nested Unit Tests 2022
Nested Unit Tests 2022

Nested Unit Tests 2022

lsoft

|
75 installs
| (0) | Free
What's about to move your unit tests closer to the code?
Download

Nested Unit Tests Visual Studio 2022 Extension

What's about to move your unit tests closer to the code? This project proposes to check whether life would be easier if the unit tests lay next to the code they are testing?

Result you will have

Of course, this approach will bring new difficulties. For example: you will need to exclude that tests from your production-ready binaries. Fair price for your convenience, isn't?

How to try

  • Open your Visual Studio 2022 and waits for NestedUnitTests Vsix finished its loading.
  • Create a new C# class library.
  • If you are using SDK style project: click RMB on project node in Solution Explorer and choose Prepare project for nested unit tests
  • Click RMB on C# file node in Solution Explorer and choose Add unit tests
  • New C# file with the unit test can now be opened under the file you choosed.

You can also set this Vsix up

To exclude you tests from compilation for production use the following construction dotnet build /p:DefineConstants=SKIP_NESTED_TESTS.

This is a very early version of the vsix!

Screenshots

Prepare project for nested unit tests

Add unit tests

Result you will have

You can also set this Vsix up

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft