ciselab / TestGenie

TestGenie - an IntelliJ plugin that natively integrates EvoSuite into the IDE. EvoSuite is an automated test suite generation tool using evolutionary algorithms. Used for research @ SERG, TU Delft.
MIT License
1 stars 0 forks source link

Clickable test names #53

Closed bolkhod closed 2 years ago

bolkhod commented 2 years ago

Description of changes made

When you click on the green elements in the gutter (visualisation), a new popup menu appears. Test names which cover a line are now clickable. Clicking these test names makes the corresponding mini-editor in the toolwindow have a custom color (the same shade of green, for now). After 10 seconds, the color resets. This way a test code is highlighted for a short moment and can easily be spotted.

Why is merge request needed

Because the client suggested this feature. This feature generally helps finding tests that cover a specific line (in the toolwindow).

Closes #40

Other notes

The UI of the popup menu has gotten uglier after the change.

What is missing?

Custom colors can be added in the future - future option in settings Better UI design for the popup menu

martinmladenov commented 2 years ago

Is this PR ready for review?

bolkhod commented 2 years ago

Is this PR ready for review?

The core of the code is. I am just aware that some other PRs (which will likely be merged prior to this one) will have conflicts. I aim to merge dev into the branch and solve them, before fully opening. But you can check the added stuff already, its shouldn't change (much)