Skip to content

This plugin allows you to run all test cases that reference a specific method in your codebase, providing a focused and efficient way to validate changes. Ideal for targeted testing and debugging.

Notifications You must be signed in to change notification settings

RyooChan/All-Call-Method-Tester

Repository files navigation

Features:

Method Usage Identification: The plugin scans the entire codebase to locate all occurrences of the target method, mapping out its usage across different modules and classes.

Dependent Test Execution: For each identified usage, the plugin triggers the execution of existing test cases. This means it not only runs the tests for the target method but also for each calling method, ensuring thorough verification of code changes.

Impact Analysis: By executing tests for all interconnected methods, the plugin helps developers understand the ripple effect of modifications in a single method, promoting safer refactorings and updates.

Integration with Testing Frameworks: Built to integrate seamlessly with popular testing frameworks, allowing it to fit naturally into existing development workflows without requiring significant process changes.

Improves Code Reliability: Ensures that changes do not inadvertently affect other parts of the application, thus increasing the reliability and stability of the code.

How To Use:

  1. Download the zip file.
  2. In IntelliJ, go to Preferences and click on Plugins, then click the gear icon.
  3. Select "Install Plugin from Disk."
image
  1. Choose the downloaded file.
  2. Restart IntelliJ.
  3. Right-click on the method you want to test and select "Run Related Tests."
image
  1. Testing is complete.
image

For:

  • Junit4, Junit5 both
  • Java

TODO

  • For Kotlin (There is an issue in Kotlin code where all methods in the same class are targeted for testing)

About

This plugin allows you to run all test cases that reference a specific method in your codebase, providing a focused and efficient way to validate changes. Ideal for targeted testing and debugging.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages