Skip to content

Feature request: smarter breadcrumbs in freespec #319

@jlous

Description

@jlous

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.

Activity

sksamuel

sksamuel commented on Dec 8, 2024

@sksamuel
Member

Can you screengrab the breadcrumbs you mean ?

sksamuel

sksamuel commented on Jan 25, 2025

@sksamuel
Member

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

Image

jlous

jlous commented on Jan 25, 2025

@jlous
Author

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

sksamuel commented on Jan 25, 2025

@sksamuel
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.

stale

stale commented on Apr 26, 2025

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jlous@sksamuel

        Issue actions

          Feature request: smarter breadcrumbs in freespec · Issue #319 · kotest/kotest-intellij-plugin