ReSharper for Visual Studio Code Help

Work with unit tests in current document

Discover tests in the current document

ReSharper for Visual Studio Code discovers unit test classes and single unit tests of all supported frameworks right in the editor and adds the corresponding action indicators next to each item in the editor:

ReSharper for Visual Studio Code shows different indicators for unit tests in the editor

Run tests in the current document

To run a single test or all tests in a test class, click the action indicator next to the corresponding item in the editor.

You will see the execution progress, results, and output in the Test Results panel:

ReSharper for Visual Studio Code: running unit tests

If you close the Test Results panel, you can later reopen it by clicking Show Output in the Testing window:

ReSharper for Visual Studio Code: show output of unit tests

Inlay hints for test data attributes

To help you understand how the arguments of test data attributes are used in test methods, ReSharper for Visual Studio Code displays parameter name hints for the following attributes:

  • NUnit's TestCase attribute,

  • xUnit's InlineData attribute,

  • InlineAutoData attribute from AutoFixture.NUnit3 and AutoFixture.Xunit2.

ReSharper for Visual Studio Code: Inlay hings for NUnit TestCase attribute
25 November 2025