Giter Club home page Giter Club logo

callhierarchy-filter-tests's Introduction

JDT Call Hierarchy: Filter Test Code

tldr; Eclipse plugin to show and hide callers from tests in the call hierarchy

Often when browsing a code base, you want to know where certain constructors/methods are used. JDTs call hierarchy offers great insight but easily becomes messy when you have a lot of tests using the same methods as well. Depending on your activity, the test code may or may not be relevant to look at (e.g. where is this code used in production code). JDT itself already offers a filter to ignore test code in the call hierarchy but the feature is well hidden and hard to toggle.

Usage

Demo

Keyboard

The toggle is available as command and thus can be triggered using

โŒ˜ Command + 3 + Filter Test Code

Installation

Use the following p2 repository

https://dl.bintray.com/bmuskalla/eclipse-toggletestfilter/

How it works

Which classes are considered tests is based on whether the source folder is marked as test source folder. This can be done in the Project properties > Java Build Path. By default, Maven projects have this configured for their src/test/java source folder.

Contains test sources

License

Released under the EPL 2.0

callhierarchy-filter-tests's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

9400388489

callhierarchy-filter-tests's Issues

Bintray decommissioned

Hi @bmuskalla,

Bintray is being decommissioned so the update site is not longer working.
Would it be possible to change it to a different location?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.