ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Create unit tests

Last modified: 29 January 2025

ReSharper provides an easy and effective way to create unit tests for a selected class: It will create a test class, test method, and even a new test project if necessary.

If AI Assistant is activated, you can opt to generate actual testing logic for the created test.

This feature is supported in the following languages and technologies:

The instructions and examples given here address the use of the feature in C#. For more information about other languages, refer to corresponding topics in the Languages and frameworks section.