Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: smarter breadcrumbs in freespec #319

Open
jlous opened this issue Sep 19, 2024 · 4 comments
Open

Feature request: smarter breadcrumbs in freespec #319

jlous opened this issue Sep 19, 2024 · 4 comments

Comments

@jlous
Copy link

jlous commented Sep 19, 2024

Would it be possible for the kotest plugin to provide its own breadcrumbs?

When using FreeSpec, the default kotlin breadcrumbs become just a number of anonymous lambdas shown as "{...}".
This is basically useless.

I would like in stead to see the actual case names in the breadcrumbs.

I love FreeSpec, and use it for functional tests suites sort of cucumber-style.
Those can easily become both long and deep enough that it would be really useful with some help keeping track of exactly which requirement you are looking at.

@sksamuel
Copy link
Member

sksamuel commented Dec 8, 2024

Can you screengrab the breadcrumbs you mean ?

@sksamuel sksamuel closed this as completed Dec 8, 2024
@sksamuel sksamuel reopened this Dec 8, 2024
@sksamuel
Copy link
Member

You mean this? I had never seen this before, TIL

Image

@jlous
Copy link
Author

jlous commented Jan 25, 2025

Sorry I didn't respond sooner. Yes, those are the breadcrumbs. I see they are more useful now than before, but could still be trimmed down to mirror text used in the test run pane

@sksamuel
Copy link
Member

There's an extension point for this https://plugins.jetbrains.com/docs/intellij/additional-minor-features.html#breadcrumbs
but it doesn't look like I can override the built in kotlin one. I've just been playing about with it for a few minutes and my custom one doesn't get picked up before the default kotlin provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants