IdeaGinkgo / Intellij-Ginkgo

Idea plugin for running and viewing ginkgo tests
GNU General Public License v3.0
33 stars 12 forks source link

Alpha feedback / first impressions #1

Closed dsharp-pivotal closed 3 years ago

dsharp-pivotal commented 3 years ago

Hi! Thanks for taking the time to work on this. It's a great start, and will make development with Ginkgo nicer. Here were the most glaring issues I had when trying it out. Please let me know if you'd like me to create separate issues for any/all of these. Even just getting the first one worked out would make this usable for me.

TaylorOno commented 3 years ago

Awesome thanks for the feedback.

dsharp-pivotal commented 3 years ago

I'll definitely start marking the "F" run markers, the "X" run markers I don't know should those be playable maybe a greyed out play icon?

Yeah, I think a greyed-out play icon makes sense. Will be a nice visual reminder of a pending test.

TaylorOno commented 3 years ago

Do you want to give the latest version a shot?

dsharp-pivotal commented 3 years ago

I gave it a try with 0.0.3-alpha. Looks like several improvements!

However, focus is not working with "when" blocks for me. I think the issue is that, for When blocks only, ginkgo prefixes the word "when" before the block descriptions, but you're not doing the same to generate focus strings.

I wonder if this is also affecting the test pane (or maybe this is still WIP). In the test list, I'm only seeing grey "-" icons ("Test terminated") next to the (correct, ie with "when") test descriptions, and the last test is marked with a yellow "x" icon (Assertion failure), even though all tests are passing. It is able to show individual tests' output when clicking on an item.


I had an idea regarding tests focused with "F": Perhaps if there are any "F" blocks, all other blocks should be marked with a grey play icon.

TaylorOno commented 3 years ago

I think I got when block working focus working.. I know there is a problem with the test pane and [Pending] test marking things as terminated. I'll have to do more testing to see if I can recreate the invalid assertion fail marker and only seeing grey "-" problems.

dsharp-pivotal commented 3 years ago

I tested out 0.1.0-beta. I can confirm the When block focus is working on my end. Looks like maybe you worked out the test pane issues as well, as that seems to be working too.

As far as I'm concerned, you've addressed all the issues I brought up initially, and the plugin is totally usable as it is now. Thanks again! I'm going to share this with my team now. 😄