Skip to content
Easy navigation between test and production code.
C# PowerShell Kotlin
Branch: master
Clone or download
Latest commit d50b3b3 Apr 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper Add new structure Feb 8, 2019
misc Added create demo. Jun 19, 2016
protocol Add new structure Feb 8, 2019
src Update SDK Apr 30, 2019
tools Add new structure Feb 8, 2019
.gitattributes Remove old structure files Feb 8, 2019
.gitignore Remove old structure files Feb 8, 2019
CHANGELOG.md Update SDK Apr 30, 2019
LICENSE Update LICENSE Apr 13, 2017
README.md Working Feb 8, 2019
TestLinker.ico Added icon. May 20, 2016
TestLinker.sln Remove old structure files Feb 8, 2019
build.gradle Update SDK Apr 30, 2019
buildPlugin.ps1 Add new structure Feb 8, 2019
gradlew Add new structure Feb 8, 2019
gradlew.bat Add new structure Feb 8, 2019
publishPlugin.ps1 Add new structure Feb 8, 2019
runVisualStudio.ps1 Add new structure Feb 8, 2019
settings.gradle Add new structure Feb 8, 2019
settings.ps1 Add new structure Feb 8, 2019

README.md

TestLinker

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.

Navigation

  • 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.

Configuration

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.

Installation

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

You can’t perform that action at this time.