Easy navigation between test and production code.
C# PowerShell Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.



Build License

TestLinker collects link data between types (i.e., production and test code) based on various mechanisms and provides various features based on that. For your convenience, TestLinker automatically takes base/derived types into account when meaningful.


  • Goto Related Files is extended with navigation points to production/test classes.
  • New shortcuts ReSharper_GotoAllLinkedTypes and ReSharper_GotoLinkedTypesWithDerivedName (assignable via keyboard options) that jumps between linked types. In case of multiple linked types, a dedicated popmenu is shown, which can also be displayed in Find Results window.

Test Creation

  • Create production/test class if they don't exist
  • Requires at least one matching pair of test and production class in the project

Test Execution

  • Tests can be executed from their linked production code. This feature automatically integrates with the shortcuts for executing unit tests in run, debug, profile, and cover mode.


Link data is currently maintained via:

  • Derived names, as with Calculator and CalculatorTest. Pre-/Postfixes can be configured in the options page.
  • Usages of TypeofAttributes, as in [Subject (typeof (FirstComponent), typeof(SecondComponent)], which are applied to test classes. This custom attribute is especially useful for integration test and can be configured through the options page.



Open ReSharper`s Extension Manager (Alt+R,X) and search for TestLinker.