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

Fringe indicators for sucessful/failed tests #3721

Open
vemv opened this issue Jun 30, 2024 · 1 comment
Open

Fringe indicators for sucessful/failed tests #3721

vemv opened this issue Jun 30, 2024 · 1 comment
Labels
feature request good first issue A simple tasks suitable for first-time contributors

Comments

@vemv
Copy link
Member

vemv commented Jun 30, 2024

Context

When working with tests frequently, one can forget if a given test failed, succeeded, or if it was run at all.

We have tech for 'fringe' indicators, i.e. these white things:

image

Proposal

After running tests, any deftest top-level forms that were run get a green/red fringe indicator.

Notes

Sample code to get started:

(cider--make-fringe-overlays-for-region (point) (save-excursion (end-of-buffer) (point)))

This introduces fringes of the 'cider-fringe-indicator type. We should introduce new types instead e.g. cider-successful-test-fringe-indicator.

@vemv
Copy link
Member Author

vemv commented Jun 30, 2024

Simply jotting down something I could implement some other day (but the feature is also up for grabs)

@vemv vemv added feature request good first issue A simple tasks suitable for first-time contributors labels Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request good first issue A simple tasks suitable for first-time contributors
Projects
None yet
Development

No branches or pull requests

1 participant